alphatize: Produce Cronbach alpha output using quosures

Description Usage Arguments Value

Description

Using the psych package's alpha, his function produces info about Cronbach's alpha for a group of variables. The output mirrors the output from STATA's alpha command, which is more succinct and understandable than the psych package's alpha function default output.

Usage

1
alphatize(data, items, names = NULL, neg.corr = FALSE)

Arguments

data

data frame

items

quosure of items to analyze

names

optional list item names or wording to append to the table for increased interpretability

neg.corr

are some items negatively correlated? This reverses those items to get an accurate estimate of alpha

Value

cronbach alpha output from the psych package's 'alpha' function


crbwin/clnR documentation built on Oct. 29, 2020, 1:55 a.m.