std_ | R Documentation |
Alternative standardization using median, IQR and mad.
std_IQR(x, na.rm = TRUE, ...)
std_mad(x, na.rm = TRUE, ...)
x |
numeric vector |
na.rm |
logical scalar,
see functions quantile, median and mad.
Default |
... |
additional parameters of functions quantile and/or mad |
Function std_IQR returns a numeric vector of the same length as x
.
Function std_mad returns a numeric vector of the same length as x
.
std_IQR(rnorm(20))
std_mad(rnorm(20))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.