R/rubin_calc_df.R

Defines functions rubin_calc_df

## File Name: rubin_calc_df.R
## File Version: 0.10

######################################################
# calculate degrees of freedom according to Rubin
rubin_calc_df <- function( res_pars, Nimp, indices=NULL, digits=2)
{
    W <- res_pars$pars_varWithin
    B <- res_pars$pars_varBetween
    df <- rubin_calc_df2( B=B, W=W, Nimp=Nimp, indices=indices, digits=digits)
    return(df)
}
######################################################

Try the BIFIEsurvey package in your browser

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

BIFIEsurvey documentation built on May 29, 2024, 2:52 a.m.