Learn R Programming

sasLM (version 1.0.1)

QuartileRange: Interquartile Range

Description

Interquartile range (Q3 - Q1) with a conventional formula.

Usage

QuartileRange(y, Type=2)

Value

The value of the interquartile range

Arguments

y

a vector of numerics

Type

a type specifier to be passed to the IQR function

Author

Kyun-Seop Bae k@acr.kr

Details

It removes NA in the input vector. Type 2 is the SAS default, while Type 6 is the SPSS default.