summary
method for class "lts"
.
"summary"(object, correlation = FALSE, ...)
"print"(x, digits = max(3, getOption("digits") - 3), signif.stars = getOption("show.signif.stars"), ...)
"lts"
, usually, a result of a call to ltsReg
.TRUE
, the correlation matrix of the estimated parameters is returned and printed."summary.lts"
, usually, a result of a call to summary.lts
.printCoefmat
.summary.lts
computes and returns a list of summary
statistics of the fitted linear model given in object
, using
the components of this object (list elements).
y
containing the residuals from the weighted least squares regression.residuals[i]
.cov.unscaled
, if correlation = TRUE
is specified. Correlations are printed to two decimal places: to see the actual correlations
print summary(object)$correlation
directly.
ltsReg
; the generic summary
.
data(Animals2)
ltsA <- ltsReg(log(brain) ~ log(body), data = Animals2)
(slts <- summary(ltsA))
## non-default options for printing the summary:
print(slts, digits = 5, signif.stars = FALSE)
Run the code above in your browser using DataLab