View source: R/check_num_outliers.R
outliers_std_detect | R Documentation |
Internal function that detects first centile, last centile and IQR per group
outliers_std_detect(.data, variable, col_name = raison, filter = TRUE, k = 1.5)
.data |
a tibble. if grouped, the analysis will be done per group |
variable |
name of the variable we want to analyse |
col_name |
name of the new column that will be created. |
filter |
a boolean. If TRUE a filter will be applied to keep only outliers. If FALSE, the number of rows in the output will be the same as .data. |
k |
coefficient applied to the IQR outlier detection |
.data tibble with an additional column names after col_name that conains a string with the type of outlier detection. For non outlier, NA is used
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.