mice_alpha: Calculates Cronbach's alpha with multiply imputed data.

View source: R/mice_alpha.R

mice_alphaR Documentation

Calculates Cronbach's alpha with multiply imputed data.

Description

This function calculates Cronbach's alpha from variables in a mids object. Based on Dion Groothof's StackOverflow post.

Usage

mice_alpha(imp, varlist, bnum)

Arguments

imp

A mids object.

varlist

Variables that make up a specific subscale, e.g., c("x1", "x2", "x3").

bnum

An integer specifying the number of bootstrap samples to be taken.


jrcalabrese/tablecloth documentation built on Aug. 21, 2022, 8:40 p.m.