rmad: Relative Median Absolute Deviation

View source: R/stats.R

rmadR Documentation

Relative Median Absolute Deviation

Description

This is the Median Absolute Deviation divided by the median and is similar to the coefficient of variation.

Usage

rmad(x, na.rm = FALSE)

Arguments

x

a numeric vector

na.rm

logical. Should missing values be removed?

Value

Relative median absolute deviation (numeric vector of length 1).

References

https://en.wikipedia.org/wiki/Median_absolute_deviation


litteR documentation built on Aug. 27, 2022, 1:05 a.m.