[R] new column from column in another df
Marianne Promberger
marianne.promberger at kcl.ac.uk
Tue Nov 9 14:01:38 CET 2010
fugelpitch <jonas at runtimerecords.net> 09-Nov-10 12:28:
> ...how can I create a new column in the first data frame where growth form
> is picked up from the second data frame (also factors) and entered into all
> rows for a species as follows:
?merge
eg
dat1 <- merge(dat1,dat2)
Marianne
--
Marianne Promberger PhD, King's College London
http://promberger.info
R version 2.12.0 (2010-10-15)
Ubuntu 9.04
More information about the R-help
mailing list