R/miceadds_weighted_scaling_y.R

Defines functions miceadds_weighted_scaling_y

## File Name: miceadds_weighted_scaling_y.R
## File Version: 0.02

miceadds_weighted_scaling_y <- function(y, w)
{
    require_namespace("TAM")
    y <- miceadds_weighted_centering(x=y, w=w)
    y <- y / TAM::weighted_sd(y, w=w)
    return(y)
}

Try the miceadds package in your browser

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

miceadds documentation built on May 29, 2024, 11:05 a.m.