iqr: Interquartile range

Description Usage Arguments Details Value

View source: R/plots.R

Description

Calculate interquartile range

Usage

1
  iqr(x)

Arguments

x

vector

Details

Calculates the 25th and 75th quantiles given a vector x; used in function dhist.

Value

numeric vector of length 2, with the 25th and 75th quantiles of input vector x.


dlebauer/pecan-priors documentation built on Sept. 26, 2019, 5:03 a.m.