no_outliers: No outliers

View source: R/ztils.R

no_outliersR 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)

ztils documentation built on April 11, 2025, 5:52 p.m.