Hello,
I have been using:

model <- lm(y~x+I(x^2))
I am namely interested in the values of the residuals. If I use the 'names'
command I get the following:

 names(model)
 [1] "coefficients"  "residuals"     "effects"       "rank"
 [5] "fitted.values" "assign"        "qr"            "df.residual"
 [9] "xlevels"       "call"          "terms"         "model"

I know I can view 'residuals' or 'resid' but how can I view the available
values of 'names' together or, perhaps even better, how can I export them.
If this is a case of read the manual, could someone direct me to where this
is discussed.

Thank you kindly,
JE

        [[alternative HTML version deleted]]

______________________________________________
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