Learn R Programming

ShinyItemAnalysis (version 1.5.4)

cronbach_alpha: Compute Cronbach alpha with confidence interval

Description

So far internal function.

Usage

cronbach_alpha(Data, ci = TRUE, ci_lvl = 0.95)

Value

A list with \(\alpha\) estimate and optionally CI.

Arguments

Data

data.frame or matrix, item data, NA gets excluded automatically.

ci

logical, whether to compute CI or not. Defaults to TRUE.

ci_lvl

numeric ranging from 0 to 1, a confidence level to construct CI for. Defaults to .95.

Examples

Run this code
ShinyItemAnalysis:::cronbach_alpha(HCI[, 1:20])

Run the code above in your browser using DataLab