Hi
 
> Dear all,
> 
> 
> 
> I have a matrix X which consists of 2 columns. I would like to convert 
this
> matrix into a list where every entry of the list consists of a single 
row of
> the matrix.

e.g.

split(mat, 1:nrow(mat))

Regards
Petr

> 
> Does anyone have a suggestions how to manage this?
> 
> 
> 
> Thank you for your efforts in advance!
> 
> 
> 
> Best,
> 
> 
> 
> Martin
> 
> 
> 
> 
>    [[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.

______________________________________________
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