PE: Percent Explained Variation of X

PER 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 mvdareg or mvdapca objects.

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)


mvdalab documentation built on Oct. 6, 2022, 1:05 a.m.