weightsplot2D: Extract a 2-Dimensional Graphical Summary Information...

Description Usage Arguments Details Author(s) Examples

View source: R/weightsplot2D.R

Description

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

Usage

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

Arguments

object

an mvdareg object, i.e. plsFit.

comps

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

verbose

output results as a data frame

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 ([email protected])

Examples

1
2
3
4
data(Penta)
mod1 <- plsFit(log.RAI ~., scale = TRUE, data = Penta[, -1],
               ncomp = 2, validation = "loo")
weightsplot2D(mod1, comp = c(1, 2))

mvdalab documentation built on Oct. 4, 2017, 5:06 p.m.