PE: Percent Explained Variation of X

Description Usage Arguments Details Author(s) Examples

View source: R/PE.R

Description

This function provides both the cumulative and individual percent explained for the X-block for an mvdareg and mvdapca objects.

Usage

1
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 ([email protected])

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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. 4, 2017, 5:06 p.m.