[R] append data

Yu-Ling Wu yuling5 at yahoo.com
Fri Jan 26 18:54:34 CET 2001


Hi,

I read a dataset into R. It looks like this:

> rawlist
x1      x2       x3
2        12        64
5        12        42
5         9        42
18        14       535
26        23       751

Now I want to append some values of zero to let it
look like this:

x1      x2       x3
2        12        64
5        12        42
5         9        42
18        14       535
26        23       751
0          0         0
0          0         0
0          0         0
0          0         0

How to do this?

Thanks,
Yu-Ling Wu


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices. 
http://auctions.yahoo.com/
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list