plot.sNPLS {sNPLS}R Documentation

Plots for sNPLS model fits

Description

Different plots for sNPLS model fits

Usage

## S3 method for class 'sNPLS'
plot(x, type = "T", comps = c(1, 2), labels = TRUE, group = NULL, ...)

Arguments

x

A sNPLS model fit

type

The type of plot. One of those: "T", "U", "Wj", "Wk", "time" or "variables"

comps

Vector with the components to plot. It can be of length ncomp for types "time" and "variables" and of length 2 otherwise.

labels

Should rownames be added as labels to the plot?

group

Vector with categorical variable defining groups (optional)

...

Not used

Value

A plot of the type specified in the type parameter


[Package sNPLS version 1.0.27 Index]