[R] data.frame -> matrix

Patrick Burns pburns at pburns.seanet.com
Sat Sep 27 12:07:59 CEST 2003


One place to start is "A Guide for the Unwilling S User".

Patrick Burns

Burns Statistics
patrick at burns-stat.com
+44 (0)20 8525 0696
http://www.burns-stat.com
(home of S Poetry and "A Guide for the Unwilling S User")


Sokratis Alikhanidi wrote:

>   Dear colleagues,
>
>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.
>
>Sokratis.
>
>______________________________________________
>R-help at stat.math.ethz.ch mailing list
>https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>
>
>  
>




More information about the R-help mailing list