R/weighted_sd.R

Defines functions weighted_sd

Documented in weighted_sd

## File Name: weighted_sd.R
## File Version: 0.08



# weighted standard deviation
weighted_sd <- function( x, w=rep(1,length(x) ), method="unbiased",
        select=NULL)
{
    res <- sqrt( weighted_var(x=x, w=w, method=method, select=select) )
    return(res)
}

Try the TAM package in your browser

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

TAM documentation built on Aug. 29, 2022, 1:05 a.m.