--- Finosaur <[EMAIL PROTECTED]> 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)

______________________________________________
R-help@stat.math.ethz.ch 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