[R] documentation and plotting with lqs

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Jan 22 23:07:01 CET 2002


On Tue, 22 Jan 2002, Clayton Springer wrote:

> Dear r-help,
>
> Is there any available description of the components of lqs objects
> found in the package "lqs"?

Only the source code.
"coefficients", "fitted.values", "residuals", "terms", "call",
"xlevels" and "model" are as in lm, and "scale" is the estimate
of the scale of the residuals.

crit is the best value found of the fit criterion, "sing" is a message
about singular fits found, and "bestone" is numbers of the points used for
the best fit.

> > names(slts)
>  [1] "crit"          "sing"          "coefficients"  "bestone"
>  [5] "fitted.values" "residuals"     "scale"         "terms"
>  [9] "call"          "xlevels"       "model"
>
> Also is there any plotting available for lqs?

No.

> And trying plot on the lqs object doesn't work:
>
> > data(stackloss)
> > set.seed(123)
> > examplelqs <- lqs(stack.loss ~ ., data = stackloss)
> > plot (examplelqs)
> Error in as.double.default(x) : (list) object cannot be coerced to vector type 14
>
> thanks,
>
> --Clayton
>
>
>
> --
> Clayton Springer, Ph. D.
> Sandia National Laboratories                      csprin at ca.sandia.gov
> Biosystems Research Department                    (925) 294-2143
> P.O. Box 969, MS 9951                fax:         (925) 294-3020
> Livermore, CA, 94551-0969
>
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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