[R] data.frame -> matrix
socrates at mis.tutkie.tut.ac.jp
Sat Sep 27 08:09:50 CEST 2003
I am beginner, so the primitive questions:
in pls.pcr package in the function mvr I need to indicate a matrix of observations and a vector of responses.
But read.table function returns the data.frame object.
What is the way for conversion of the data.frame object into matrix and vector objects?
And what is the way for writing the results down into file?
Thank you very much.
More information about the R-help