Skip to content
Prev 18016 / 398502 Next

matrix with fix number columns but variable number rows

Francisco J Molina wrote:

            
Maybe

data <- vector(mode="numeric")
# and here functions, loops  or whatever to read the data
newdata <- datafromanywhere
data <- rbind(data, newdata)

Regards, Sven




-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._