iqr: Calculate IQR and IQR width

Description Usage Arguments Value Examples

View source: R/miscUtils.R

Description

Uses default parameters in quantile() function

Usage

1
iqr(x, width = T, na.rm = F)

Arguments

x

An array of numbers.

width

A boolean indicating whether function should return with or endpoints

na.rm

A boolean indicating whether NAs should be removed

Value

x's IQR or width of x's IQR

Examples

1
2
iqr(1:100, width = T)
iqr(1:100, width = F)

kikapp/kikapputils documentation built on May 24, 2021, 10:41 p.m.