fences: Fences

Description Usage Arguments Value

View source: R/utils.R

Description

This function returns the lower and upper fences for a numeric vector. The lower fence is calculated as the smallest value above 'q1 - 1.5*IQR' and the upper as the largest value below 'q3 + 1.5*IQR'.

Usage

1
fences(x)

Arguments

x

Numeric vector to calculate fences for

Value

Numeric vector of length 2: c(lowerfence, upperfence)


d-callan/plot.data documentation built on Jan. 27, 2021, 8:37 a.m.