fences: Fences

View source: R/utils-stats.R

fencesR Documentation

Fences

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

fences(x)

Arguments

x

Numeric vector to calculate fences for

Value

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


VEuPathDB/plot.data documentation built on Feb. 20, 2025, 6:33 p.m.