coefficientsplot2D: 2-Dimensionsl Graphical Summary Information Pertaining to the...

View source: R/coefficientsplot2D.R

coefficientsplot2DR Documentation

2-Dimensionsl Graphical Summary Information Pertaining to the Coefficients of a PLS

Description

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

Usage

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

Arguments

object

an mvdareg object.

comps

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

verbose

output results as a data frame

Details

coefficientsplot2D is used to extract a graphical summary of the coefficients of a PLS model. If comp is missing (or is NULL), a graphical summary for the 1st and 2nd components is returned.

Author(s)

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

See Also

loadingsplot2D, weightsplot2D

Examples

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

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