Learn R Programming

pheble (version 0.1.0)

ph_iqr: Compute interquartile range.

Description

The ph_iqr function computes the interquartile range.

Usage

ph_iqr(x, na.rm = FALSE, type = 7)

Value

The interquartile range.

Arguments

x

A numeric vector.

na.rm

A logical value: FALSE (default). If true, any NA is removed before quantiles are computed.

type

An integer value (1:9) selecting one of 9 quantile algorithms.