plot.enpls.od {enpls}R Documentation

Plot enpls.od object

Description

Plot enpls.od object

Usage

## S3 method for class 'enpls.od'
plot(x, criterion = c("quantile", "sd"),
  prob = 0.05, sdtimes = 3L, alpha = 1, main = NULL, ...)

Arguments

x

An object of class enpls.od.

criterion

Criterion of being classified as an outlier, can be "quantile" or "sd".

prob

Quantile probability as the cut-off value.

sdtimes

Times of standard deviation as the cut-off value.

alpha

An alpha transparency value for points, a real number in (0, 1].

main

Plot title.

...

Additional graphical parameters for plot.

Author(s)

Nan Xiao <https://nanx.me>

See Also

See enpls.od for outlier detection with ensemble partial least squares regressions.

Examples

data("alkanes")
x <- alkanes$x
y <- alkanes$y

set.seed(42)
od <- enpls.od(x, y, reptimes = 50)
plot(od, criterion = "quantile")
plot(od, criterion = "sd")

[Package enpls version 6.1 Index]