alt_alpha: Alternative way of calculating cronbach's alpha

View source: R/scales.R

alt_alphaR Documentation

Alternative way of calculating cronbach's alpha

Description

Cronbach's alpha is a measure of internal reliability.

Usage

alt_alpha(v1)

Arguments

v1

A matrix or data frame where each column is an item, and each row is a data point.

Details

This is a slightly different way to calculate it than what is in the psy package.

Note: Data is run through na.omit to remove NAs when calculating alpha.

Value

A list containing three items: sample.size, number.of.items, and alpha


rwash/surveys documentation built on Sept. 18, 2023, 11:31 p.m.