PE {mvdalab} | R Documentation |
Percent Explained Variation of X
Description
This function provides both the cumulative and individual percent explained for the X-block for an mvdareg
and mvdapca
objects.
Usage
PE(object, verbose = FALSE)
Arguments
object |
an object of class |
verbose |
output results as a data frame |
Details
This function provides both the cumulative and individual percent explained for the X-block for an mvdareg
or mvdapca
objects.
Author(s)
Nelson Lee Afanador (nelson.afanador@mvdalab.com)
Examples
mod1 <- plsFit(log.RAI ~., scale = TRUE, data = Penta[, -1],
ncomp = 2, validation = "none")
PE(mod1)
## Not run:
data(Penta)
mod2 <- plsFit(log.RAI ~., scale = TRUE, data = Penta[, -1],
ncomp = 2, validation = "loo")
PE(mod2)
## End(Not run)
[Package mvdalab version 1.7 Index]