plot.sNPLS: Plots for sNPLS model fits

Description Usage Arguments Value

View source: R/sNPLS_fit.R

Description

Different plots for sNPLS model fits

Usage

1
2
## 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


sNPLS documentation built on Jan. 13, 2021, 3:46 p.m.