Learn R Programming

mvdalab (version 1.7)

y.loadings: Extract Summary Information Pertaining to the y-loadings

Description

Functions to extract the y-loadings from mvdareg and mvdapca objects.

Usage

y.loadings(object, conf = .95)

Arguments

object

an mvdareg or mvdapaca object, i.e. plsFit.

conf

for a bootstrapped model, the confidence level to use.

Author

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

Details

y.loadings is used to extract a summary of the y-loadings from a PLS or PCA model.

If comps is missing (or is NULL), summaries for all regression estimates are returned. Otherwise, if comps is provided the requested component comps are returned.

For mvdareg objects only, boostrap summaries provided are for actual regression y.loadings, bootstrap percentiles, bootstrap mean, skewness, and bias. These summaries can also be extracted using y.loadings.boots

Examples

Run this code
data(Penta)
mod1 <- plsFit(log.RAI ~., scale = TRUE, data = Penta[, -1], 
               ncomp = 2, validation = "loo")
y.loadings(mod1)

Run the code above in your browser using DataLab