fsdaR (version 0.9-0)

summary.fsr: Summary Method for FSR objects

Description

summary method for class "fsr".

Usage

# S3 method for fsr
summary(object, correlation = FALSE, ...)
# S3 method for summary.fsr
print(x, digits = max(3, getOption("digits") - 3),
     signif.stars = getOption("show.signif.stars"), ...)

Value

summary.fsr returns an summary.fsr object, whereas the

print methods returns its first argument via

invisible, as all print methods do.

Arguments

object, x

an object of class "fsr" (or "summary.fsr"); usually, a result of a call to fsreg.

correlation

logical; if TRUE, the correlation matrix of the estimated parameters is returned and printed.

digits

the number of significant digits to use when printing.

signif.stars

logical indicating if “significance stars” should be printer, see printCoefmat.

...

further arguments passed to or from other methods.

Details

summary.fsr(), the S3 method, simply returns an (S3) object of class "summary.fsr" for which there's a print method:

print.summary.fsr prints summary statistics for the forward search (FS) regression estimates. While the function print.fsr prints only the robust estimates of the coefficients, print.summary.fsr will print also the regression table.

See Also

fsreg, summary

Examples

Run this code
if (FALSE) {

    data(Animals, package = "MASS")
    brain <- Animals[c(1:24, 26:25, 27:28),]
    lbrain <- log(brain)
    (fs <- fsreg(brain~body, data=lbrain, method="FS"))
    summary(fs)
}

Run the code above in your browser using DataLab