Extract a 2-Dimensional Graphical Summary Information Pertaining to the weights of a PLS Analysis

Share:

Description

Functions to extract 2D graphical weights information from mvdalab objects.

Usage

1
weightsplot2D(object, comps = c(1, 2))

Arguments

object

an mvdareg object, i.e. plsFit.

comps

a vector or length 2 corresponding to the number of components to include.

Details

weightsplot2D is used to extract a graphical summary of the weights of a PLS model.

If comp is missing (or is NULL), a graphical summary for the 1st and 2nd componentsare returned.

Author(s)

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

Examples

1
2
3
4
5
6
data(Penta)
## Number of bootstraps set to 500 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 = 500)
weightsplot2D(mod1, comp = c(1, 2))

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.