Hello. Given two scattered matrix a b c d s n q w e r t y and cx vf re ty sw k sa gf jk we as cd I want to obtain a single matrix as a b c d s n q w e r t y cx vf re ty sw k sa gf jk we as cd What have I to do? Thank you Alessandro -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Thu, 2 May 2002, Ambrosini Alessandro wrote: |Hello. |Given two scattered matrix | |a b c d |s n |q w e r t y | |and | |cx vf re ty sw k |sa gf jk we |as cd | |I want to obtain a single matrix as | |a b c d |s n |q w e r t y |cx vf re ty sw k |sa gf jk we |as cd Hi, What is ,,scattered matrix''? I do not know such a data structure in R. If you have lists (which allow components of different length), you have simply to say c(list1, list2) to get the lists concated. You may also look at ?rbind and ?cbind, if you indeed have some matrix or data.frame type variables. Ott -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
I think use copy (DOS) or cat (Unix/Linux) command is the easieat way!>Hello. >Given two scattered matrix > >a b c d >s n >q w e r t y > >and > >cx vf re ty sw k >sa gf jk we >as cd > >I want to obtain a single matrix as > >a b c d >s n >q w e r t y >cx vf re ty sw k >sa gf jk we >as cd > >What have I to do? >Thank you >Alessandro >-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- >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 >_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._