[R] orthogonal polynomials

Joanna Atkin joanna at kea.grace.cri.nz
Wed Jan 16 01:57:20 CET 2002


I have been trying to use R to get a polynomial least squares regression,
using lsfit, but the command 'poly' only accepts vectors as the argument,
and I am using a matrix. This works in S-plus; is there any way around
this problem in R?

Thank you.

Sincerely,

Joanna Atkin

Industrial Research Limited
Gracefielf
New Zealand

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list