[ top | up ]

The Interquartile Range

Syntax

IQR(x)

Description

This function computes interquartile range of the data values in its arguments.

References

Tukey, J. W. (1977). Exploratory Data Analysis. Reading: Addison-Wesley.

Note

This function computes the quartiles using the function quantile rather than following Tukey's recommendations.

See Also

fivenum, quantile.

Examples

data(rivers) IQR(rivers)