coefsplot: Graphical Summary Information Pertaining to the Regression...

View source: R/coefsplot.R

coefsplotR Documentation

Graphical Summary Information Pertaining to the Regression Coefficients

Description

Functions to extract regression coefficient bootstrap information from mvdalab objects.

Usage

coefsplot(object, ncomp = object$ncomp, conf = 0.95, verbose = FALSE)

Arguments

object

an mvdareg object. A fitted model.

ncomp

the number of components to include.

conf

for a bootstrapped model, the confidence level to use.

verbose

output results as a data frame

Details

coefficients is used to extract a graphical summary of the regression coefficients of a PLS model.

If comps is missing (or is NULL), a graphical summary for the nth component regression estimates are returned. Otherwise, if comps is given parameters for a model with only the requested component comps is returned.

Bootstrap graphcal summaries provided are when method = oob.

Author(s)

Nelson Lee Afanador (nelson.afanador@mvdalab.com)

Examples

data(Penta)
mod1 <- plsFit(log.RAI ~., scale = TRUE, data = Penta[, -1],
               ncomp = 2, validation = "loo")
coefsplot(mod1, ncomp = 1:2)

mvdalab documentation built on Oct. 6, 2022, 1:05 a.m.