plot.enpls.od: Plot enpls.od Object

Description Usage Arguments Details Author(s) See Also Examples

View source: R/plot.R

Description

This function plots enpls.od object.

Usage

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

Arguments

x

An object of class enpls.od.

criterion

Criterion of being outlier, could be 'quantile' or 'sd'.

prob

the quantile

sdtimes

the times of sd

main

plot title

...

Other graphical parameters to be passed on to plot.

Details

This function plots enpls.od object.

Author(s)

Min-feng Zhu <wind2zhu@163.com>, Nan Xiao <road2stat@gmail.com>

See Also

See enpls.od for outlier detection with ensemble PLS.

Examples

1
2
3
4
5
6
7
8
data(alkanes)
x = alkanes$x
y = alkanes$y

set.seed(42)
od = enpls.od(x, y, MCtimes = 100)
plot(od, criterion = 'quantile')
plot(od, criterion = 'sd')

wind22zhu/enpls1.2 documentation built on May 4, 2019, 6:31 a.m.