Learn R Programming

ham (version 1.0.0)

print.alpha: Print alpha results

Description

Formats alpha class results to display summary statistics of scale information. These include the overall alpha, scale mean and standard deviation, item statistics, scale statistics if an item is removed from the scale, and the total sample size.

Usage

# S3 method for alpha
print(x, ...)

Value

formatted alpha results.

Arguments

x

alpha object from Cronbach's alpha calculation.

...

Additional arguments.

Examples

Run this code
print(alpha(items=c("i1","i2","i3","i4","i5"), data=cas))

Run the code above in your browser using DataLab