[R] Odp: data frame to matrix
Petr PIKAL
petr.pikal at precheza.cz
Wed Jan 23 08:34:33 CET 2008
Hi
what about
as.matrix(data_frame)
Regards
Petr Pikal
petr.pikal at precheza.cz
r-help-bounces at r-project.org napsal dne 23.01.2008 07:38:50:
> Hello,
>
> I have a data frame and would like to convert it into a matrix, how do I
do
> that?
>
>
>
> Thanks
>
>
>
> --My Coyne
>
>
>
>
>
>
>
>
>
>
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.
More information about the R-help
mailing list