[R] help on data frame and matrix

John Kane jrkrideau at yahoo.ca
Sun Sep 17 18:10:19 CEST 2006


--- Finosaur <mouandny at gmail.com> wrote:


> I am given a data frame, which actually contains a
> matrix. But I need to convert the data frame into a
> matrix so that I can use the matrix operators. Can
> anybody help me out? Thanks a lot.
> 
>  
> 
> Thaleia
 d <- as.matrix(data.frame)



More information about the R-help mailing list