loadingsplot | R Documentation |
Functions to extract graphical loadings information from mvdareg
and mvdapca
object.
loadingsplot(object, ncomp = object$ncomp, conf = 0.95, verbose = FALSE)
object |
an |
ncomp |
the number of components to include. |
conf |
for a bootstrapped model, the confidence level to use. |
verbose |
output results as a data frame |
"loadingsplot"
is used to extract a graphical summary of the loadings of a PLS model.
If "comps"
is missing (or is NULL), a graphical summary for the nth component estimates are returned. Otherwise, if comps is given parameters for a model with only the requested component comps is returned.
Bootstrap graphcal summaries provided are when "method = oob"
Nelson Lee Afanador (nelson.afanador@mvdalab.com)
loadings
, loadings.boots
, loadingsplot2D
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) loadingsplot(mod1, ncomp = 1:2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.