Provide a minimal example to start with. This sounds more like voodoo than anything else. Cheers Joris
On Fri, May 28, 2010 at 6:30 PM, UM <usman.muni...@imperial.ac.uk> wrote: > > hi, > I have been trying to do this in R (have implemented it in Excel) but I > have > been using a very inefficent way (loops etc.). I have matrix A (columns are > years and ages are rows) and matrix B (columns are birth yrs and rows are > ages) > > > I would like to first turn matrix A into matrix B > > And then I would like to convert matrix B back again to the original matrix > A. (I have left out details of steps) but this is the gist of what I want > to > do. Can anyone please give any insights? > > > Thanks > > > > > > > > > > http://r.789695.n4.nabble.com/file/n2234852/untitled.bmp > > -- > View this message in context: > http://r.789695.n4.nabble.com/Matrix-interesting-question-tp2234852p2234852.html > Sent from the R help mailing list archive at Nabble.com. > > [[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. > -- Joris Meys Statistical Consultant Ghent University Faculty of Bioscience Engineering Department of Applied mathematics, biometrics and process control Coupure Links 653 B-9000 Gent tel : +32 9 264 59 87 joris.m...@ugent.be ------------------------------- Disclaimer : http://helpdesk.ugent.be/e-maildisclaimer.php [[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.