.cronbach: Bootstrap Function for cronbach() Function
Description
.cronbach is the function used by the boot function
within the cronbach function. It is primarily created to increase the
computational efficiency of bootstrap confidence intervals within the
cronbach function by doing only the minimal computations needed to
compute cronbach's alpha.
Usage
.cronbach(dat, i, use)
Value
double vector of length 1 providing cronbach's alpha
Arguments
dat
data.frame with only the items you wish to include in the cronbach's
alpha computation and no other variables.
i
integer vector of length = nrow(dat) specifying which rows
should be included in the computation. When used by the boot::boot function
this argument will change with every new bootstrapped resample.
use
character vector of length 1 specifying how missing data should be
handled when computing covariances. See cov for details.