Spark Online Training by Edureka

weightsplot: Extract Graphical Summary Information Pertaining to the...

Description Usage Arguments Details Author(s) Examples

Description

Functions to extract regression coefficient bootstrap information from mvdalab objects.

Usage

1
weightsplot(object, ncomp = object$ncomp, conf = .95, verbose = FALSE)

Arguments

object

an mvdareg object, i.e. plsFit

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

weightsplot is used to extract a graphical summary of the weights 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.

Boostrap graphcal summaries provided are when method = oob.

Author(s)

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

Examples

1
2
3
4
5
6
data(Penta)
## Number of bootstraps set to 300 to demonstrate flexibility
## Use a minimum of 1000 (default) for results that support bootstraping
mod1 <- plsFit(log.RAI ~., scale = TRUE, data = Penta[, -1],
               ncomp = 2, validation = "oob", boots = 300)
weightsplot(mod1, ncomp = 1:2)


Search within the mvdalab package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.