?cbind should solve your problem
2011-04-12 07:54 keltezéssel, pankaj borah írta: > I have two matrices A and B > >> dim (A) > [1] 30380 104 > >> dim(Bt) > [1] 30380 63 > > I want to combine both A and B to matrix C where >> dim(C) > [1] 30380 167 > > How do I do that ? > > > Regards, > > Pankaj Barah > Department of Biology, > Norwegian University of Science& Technology (NTNU) > Realfagbygget, N-7491 > > [[alternative HTML version deleted]] > > > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.