find_outliers {metan} | R Documentation |
Find possible outliers in a dataset
Description
Find possible outliers in the dataset.
Usage
find_outliers(
.data = NULL,
var = NULL,
by = NULL,
plots = FALSE,
coef = 1.5,
verbose = TRUE,
plot_theme = theme_metan()
)
Arguments
.data |
The data to be analyzed. Must be a dataframe or an object of
class |
var |
The variable to be analyzed. |
by |
One variable (factor) to compute the function by. It is a shortcut
to |
plots |
If |
coef |
The multiplication coefficient, defaults to 1.5. For more details
see |
verbose |
If |
plot_theme |
The graphical theme of the plot. Default is
|
Author(s)
Tiago Olivoto tiagoolivoto@gmail.com
Examples
library(metan)
find_outliers(data_ge2, var = PH, plots = TRUE)
# Find outliers within each environment
find_outliers(data_ge2, var = PH, by = ENV)
[Package metan version 1.18.0 Index]