Description Usage Arguments Value Author(s) References
This is an internal function not intended to be called
by the user. This function is a minimally modified adaptation of
"aplpack::bagplot"
. The main difference is that while
aplpack::bagplot returns the coordinate of the observations outside
the fence, this version returns the index of the observations outside
the fence. For more details, see help("aplpack::bagplot")
.
1 | MFHD_bagplot(x, y,factor=3,approx.limit=300,verbose=FALSE)
|
x |
x values of a data set; in "bagplot": an object of class "bagplot" computed by "compute.bagplot". |
y |
y values of the data set. |
factor |
Expanding factor of the fence. |
approx.limit |
if the number of data points exceeds "approx.limit" a sample is used to compute some of the quantities; default: 300. |
verbose |
automatic commenting of calculations. |
Returns a list. Component "center" is a two dimensional vector with the coordinate of the center. Component outliers is a n-vector of binary values (the observations outside the fence are assigned value 1).
M. Hubert and K. Vakili.
P. J. Rousseeuw, I. Ruts, J. W. Tukey (1999): The bagplot: a bivariate boxplot, The American Statistician, vol. 53, no. 4, 382–387.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.