no_outliers {ztils} | R Documentation |
No outliers
Description
This function returns a dataframe subsetted to not include observations that are beyond the outliers of the specified variable. Outliers are defined by the quantiles +- 1.5 times the interquartile range.
Usage
no_outliers(data, var)
Arguments
data |
The data to subset |
var |
The variable to subset by |
Value
A dataframe without entries containing outliers in the selected variable.
Examples
no_outliers(iris, Sepal.Length)
[Package ztils version 1.0.0 Index]