cronbach_alpha: Compute Cronbach alpha with confidence interval

View source: R/cronbach_alpha.R

cronbach_alphaR Documentation

Compute Cronbach alpha with confidence interval

Description

So far internal function.

Usage

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

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.

Value

A list with \alpha estimate and optionally CI.

Examples

ShinyItemAnalysis:::cronbach_alpha(HCI[, 1:20])


ShinyItemAnalysis documentation built on May 31, 2023, 7:08 p.m.