Displaying 1 result from an estimated 1 matches for "a1_c".
Did you mean:
a1_4
2000 Mar 07
3
Merging data.frames
...:
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)
> adf_data.frame(a1,a2)
> bdf_data.frame(b1,b2)
> adf+bdf
a1 a2
1 4 6
2 4 6
3 4 6
> data.frame(adf, bdf)
a1 a2 b1 b2
1 1 2 3 4
2 1 2 3 4
3 1 2 3 4
> data.frame(adf, bdf, adf)
a1 a2 b1 b2 a1 a2...