let consider following matrix :

mat <- matrix(rnorm(45), 15)

Now I want  to convert it to a list object "mat_list", which will have 15
elements and each element will again be a matrix with 3 rows and 3 columns.

How can I do that?

Thanks,
-- 
View this message in context: 
http://n4.nabble.com/Matrix-to-list-object-tp989738p989738.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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