The data to be analyzed. Must be a dataframe or an object of
class split_factors.
var
The variable to be analyzed.
by
One variable (factor) to compute the function by. It is a shortcut
to dplyr::group_by(). To compute the statistics by more than
one grouping variable use that function.
plots
If TRUE, then histograms and boxplots are shown.
coef
The multiplication coefficient, defaults to 1.5. For more details
see ?boxplot.stat.
verbose
If verbose = TRUE then some results are shown in the
console.
plot_theme
The graphical theme of the plot. Default is
plot_theme = theme_metan(). For more details, see
ggplot2::theme().
# \donttest{library(metan)
find_outliers(data_ge2, var = PH, plots = TRUE)
# Find outliers within each environmentfind_outliers(data_ge2, var = PH, by = ENV)
# }