powered by
Plot enspls.od object
# S3 method for enspls.od plot( x, criterion = c("quantile", "sd"), prob = 0.05, sdtimes = 3L, alpha = 1, main = NULL, ... )
An object of class enspls.od.
enspls.od
Criterion of being classified as an outlier, can be "quantile" or "sd".
"quantile"
"sd"
Quantile probability as the cut-off value.
Times of standard deviation as the cut-off value.
An alpha transparency value for points, a real number in (0, 1].
Plot title.
Additional graphical parameters for plot.
plot
Nan Xiao <https://nanx.me>
See enspls.od for outlier detection with ensemble sparse partial least squares regressions.
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)
Run the code above in your browser using DataLab