Displaying 1 result from an estimated 1 matches for "shaowen".
Did you mean:
shadowed
2011 Jun 27
2
R PLS package data format
...(t$y) returns TRUE
>is.matrix(t$x) returns TRUE
That is, how to make x column of the data frame a matrix? Just like the test data ¡§gasoline¡¨ in your PLS package:
>library(pls)
>data(yarn)
>is.vector(density) returns TRUE
>is.matrix(NIR) returns TURE (NIR is a matrix)
Best regards,
Shaowen Cheng
________________________________
The information in this e-mail may be confidential; it is intended for use solely by the individual or entity named as the recipient hereof. Disclosure, copying, distribution, or use of the contents of this e-mail by persons other than the intended recipient...