rakeshnb <rakeshn...@gmail.com> writes:

> I am using pls package but how is scaling done in R?

That is documented in the help pages:

> library(pls)
> ?plsr
[snip]
   scale: numeric vector, or logical.  If numeric vector, X is scaled
          by dividing each variable with the corresponding element of
          'scale'.  If 'scale' is 'TRUE', X is scaled by dividing each
          variable by its sample standard deviation.  If
          cross-validation is selected, scaling by the standard
          deviation is done for every segment.

When in doubt, read the documentation. :)

-- 
Regards,
Bjørn-Helge Mevik

______________________________________________
R-help@r-project.org 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