rmad {litteR}R 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


[Package litteR version 1.0.0 Index]