Description Usage Arguments Value Author(s) References Examples
View source: R/outliers_det_boxplot.R.R
Detect outliers using boxplot method (Sun and Genton, 2011). For each day, the 25% quantile (QR1), 75% quantile (QR3), and 50% inter-quantile range (IQR) are calculated. The observations below QR1 - 1.5 x IQR or above QR3 + 1.5 x IQR are considered as outliers. Outliers are replaced by missing value.
1 |
data |
|
plot |
|
Return:
data.frame
with outlying values put as NA.
Soumyashree Kar, Vincent Garin
Sun, Y. and Genton, M.G. (2011). Functional boxplots. Journal of Computational and Graphical Statistics, 20(2), pp.316-334
1 2 3 | data(SG_PH_data)
data <- outliers_det_boxplot(data = SG_PH_data[, 6:28])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.