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.

Reply via email to