Displaying 1 result from an estimated 1 matches for "cy1".
Did you mean:
c1
2004 Aug 15
3
Stacking Vectors/Dataframes
...simple way of stacking/merging two dataframes in R? I want to
stack them piece-wise, not simply add one whole dataframe to the bottom of
the other. I want to create as follows:
x.frame:
aX1 bX1 cX1 ... zX1
aX2 bX2 cX2 ... zX2
... ... ... ... ...
aX99 bX99 cX99 ... zX99
y.frame:
aY1 bY1 cY1 ... zY1
aY2 bY2 cY2 ... zY2
... ... ... ... ...
aY99 bY99 cY99 ... zY99
new.frame:
aX1 bX1 cX1 ... zX1
aY1 bY1 cY1 ... zY1
aX2 bX2 cX2 ... zX2
aY2 bY2 cY2 ... tY2
... ... ... ... ...
aX99 bX99 cX99 ... tX99
aY99 bY99 cY99 ... tY99
I have tried to use a for loop (simply assig...