outliers_std_detect: Standard detection of outliers

View source: R/check_num_outliers.R

outliers_std_detectR Documentation

Standard detection of outliers

Description

Internal function that detects first centile, last centile and IQR per group

Usage

outliers_std_detect(.data, variable, col_name = raison, filter = TRUE, k = 1.5)

Arguments

.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

Value

.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


JMPivette/evavelo documentation built on April 8, 2023, 4:20 p.m.