R/mad_normalized.R

Defines functions mad_normalized

## File Name: mad_normalized.R
## File Version: 0.03

mad_normalized <- function(x)
{
    x <- stats::na.omit(x)
    res <- stats::median( abs( x - stats::median(x) ) )
    res <- res/0.6745
    return(res)
}

Try the sirt package in your browser

Any scripts or data that you put into this service are public.

sirt documentation built on Aug. 11, 2023, 5:07 p.m.