y.loadings.boots {mvdalab} | R Documentation |
Extract Summary Information Pertaining to the y-loadings
Description
Functions to extract the y-loadings from mvdareg and mvdapca objects.
Usage
y.loadings.boots(object, ncomp = object$ncomp, conf = 0.95)
Arguments
object |
an |
ncomp |
the number of components to include in the model (see below). |
conf |
for a bootstrapped model, the confidence level to use. |
Details
y.loadings.boots
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
Author(s)
Nelson Lee Afanador (nelson.afanador@mvdalab.com)
Examples
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)
y.loadings(mod1)
y.loadings.boots(mod1)
[Package mvdalab version 1.7 Index]