plot.enspls.od: Plot enspls.od object

Description Usage Arguments Author(s) See Also Examples

View source: R/plot.enspls.R

Description

Plot enspls.od object

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## S3 method for class 'enspls.od'
plot(
  x,
  criterion = c("quantile", "sd"),
  prob = 0.05,
  sdtimes = 3L,
  alpha = 1,
  main = NULL,
  ...
)

Arguments

x

An object of class enspls.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 enspls.od for outlier detection with ensemble sparse partial least squares regressions.

Examples

1
2
3
4
5
6
7
8
data("logd1k")
x <- logd1k$x
y <- logd1k$y

set.seed(42)
od <- enspls.od(x, y, reptimes = 4, maxcomp = 2)
plot(od, criterion = "quantile", prob = 0.1)
plot(od, criterion = "sd", sdtimes = 1)

road2stat/enpls documentation built on Dec. 30, 2021, 2:20 a.m.