summary.fsdalms {fsdaR} | R Documentation |
Summary Method for fsdalms
objects
Description
summary
method for class "fsdalms"
.
Usage
## S3 method for class 'fsdalms'
summary(object, correlation = FALSE, ...)
## S3 method for class 'summary.fsdalms'
print(x, digits = max(3, getOption("digits") - 3),
signif.stars = getOption("show.signif.stars"), ...)
Arguments
object , x |
an object of class |
correlation |
logical; if |
digits |
the number of significant digits to use when printing. |
signif.stars |
logical indicating if “significance stars”
should be printer, see |
... |
further arguments passed to or from other methods. |
Details
summary.fsdalms()
, the S3 method, simply returns an (S3) object of class "summary.fsdalms"
for which there's a print
method:
print.summary.fsdalms
prints summary statistics for the forward search (FS) regression estimates.
While the function print.fsdalms
prints only the robust estimates
of the coefficients, print.summary.fsdalms
will print also the regression table.
Value
summary.fsdalms
returns an summary.fsdalms
object, whereas the
print
methods returns its first argument via
invisible
, as all print
methods do.
See Also
Examples
## Not run:
data(Animals, package = "MASS")
brain <- Animals[c(1:24, 26:25, 27:28),]
lbrain <- log(brain)
(fs <- fsreg(brain~body, data=lbrain, method="LTS"))
summary(fs)
## compare to the result of ltsReg() from 'robustbase'
library(robustbase)
(lts <- ltsReg(brain~body, data=lbrain))
summary(lts)
## End(Not run)