PE {mvdalab} | R Documentation |
This function provides both the cumulative and individual percent explained for the X-block for an mvdareg
and mvdapca
objects.
PE(object, verbose = FALSE)
object |
an object of class |
verbose |
output results as a data frame |
This function provides both the cumulative and individual percent explained for the X-block for an mvdareg
or mvdapca
objects.
Nelson Lee Afanador (nelson.afanador@mvdalab.com)
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)