[R] Joining variables

Guenther, Cameron Cameron.Guenther at MyFWC.com
Wed May 24 20:45:58 CEST 2006


Hello,

If I have two variables that are factors or characters and I want to
create a new variable that is the combination of both what function can
I use to accomplish this?

Ex.

Var1			Var2
SA100055113		19851113

And I want

NewVar
SA10005511319851113

Thanks in advance.

Cameron Guenther, Ph.D. 
Associate Research Scientist
FWC/FWRI, Marine Fisheries Research
100 8th Avenue S.E.
St. Petersburg, FL 33701
(727)896-8626 Ext. 4305
cameron.guenther at myfwc.com



More information about the R-help mailing list