R/gdina_standardize_weights.R

Defines functions gdina_standardize_weights

## File Name: gdina_standardize_weights.R
## File Version: 0.01


gdina_standardize_weights <- function( weights )
{
    N <- length(weights)
    weights <- N*weights / sum(weights)
    return(weights)
}

Try the CDM package in your browser

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

CDM documentation built on Aug. 25, 2022, 5:08 p.m.