Find possible outliers in the dataset.
find_outliers( .data = NULL, var = NULL, by = NULL, plots = FALSE, coef = 1.5, verbose = TRUE, plot_theme = theme_metan() )
.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
|
Tiago Olivoto tiagoolivoto@gmail.com
#> No possible outlier identified. #># Find outliers within each environment find_outliers(data_ge2, var = PH, by = ENV)#> No possible outlier identified. #> #> No possible outlier identified. #> #> Number of possible outliers: 4 #> Line(s): 7 11 14 15 #> Proportion: 11.4% #> Mean of the outliers: 2.438 #> Maximum of the outliers: 2.766 | Line 11 #> Minimum of the outliers: 1.71 | Line 7 #> With outliers: mean = 2.167 | CV = 10.309% #> Without outliers: mean = 2.136 | CV = 7.377% #> #> No possible outlier identified. #>#> ENV outliers #> 1 A1 0 #> 2 A2 0 #> 3 A3 4 #> 4 A4 0# }