Learn R Programming

mvdalab (version 1.7)

plot.wrtpls: Plots of the Output of a Permutation Distribution for an mvdareg Object with method = "bidiagpls"

Description

This takes an mvdareg object fitted with method = "bidiagpls" and produces a graph of the bootstrap distribution and its corresponding normal quantile plot for a variable of interest.

Usage

# S3 method for wrtpls
plot(x, comp = 1:object$ncomp, distribution = "log", ...)

Value

The output of plot.wrtpls is a histogram of the permutation distribution with the following vertical line indicators.

Solid line = Actual Value; Dashed Line = Critical Value from t-distribution at the model specifed alpha; Dotted line = Quantile at the model specifed alpha

Arguments

x

an object of class "mvdareg", i.e., a plsFit.

comp

number of latent variables to generate the permutation distribution

distribution

plot the "log", or "actual", of the permutation distribution

...

additional arguments. Currently ignored.

Author

Nelson Lee Afanador (nelson.afanador@mvdalab.com)

Details

The function generates the permutation distribution and normal quantile plot for a mvdareg model when method = "bidiagpls" is specified.

See Also

bca.cis

Examples

Run this code
data(Penta)
mod1 <- plsFit(log.RAI ~., scale = TRUE, data = Penta[, -1],
               method = "wrtpls", validation = "none")
## Not run
## plot.wrtpls(mod1, distribution = "log")

Run the code above in your browser using DataLab