R/tam_ghp_number_informations.R

Defines functions tam_ghp_number_informations

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

tam_ghp_number_informations <- function(pweights, resp.ind)
{
    ghp_obs <- NULL
    if (!is.null(resp.ind)){
        ghp_obs <- sum(pweights*resp.ind)
    }
    return(ghp_obs)
}

Try the TAM package in your browser

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

TAM documentation built on May 29, 2024, 2:20 a.m.