Displaying 1 result from an estimated 1 matches for "dataframen".
Did you mean:
dataframes
2000 Mar 07
3
Merging data.frames
...several data.frames into one data.frame. In S-Plus I would
>use
>"merge" but I don't see a merge command in R. What is the best way to
>accomplish
>this?
The easiest way to to this, I think, is as follows:
if you have several data frames, dataframe1, dataframe2, . . . , dataframen,
you can merger them all into one dataframe by using the data.frame command
again with the individuaal data.frames as arguments:
data.frame(dataframe1, dataframe2, . . . , dataframen)
here's a quick example:
> a1_c(1, 1, 1)
> a2_c(2, 2, 2)
> b1_c(3, 3, 3)
> b2_c(4, 4, 4)
> a...