make_alpha_table: Wrap a pre computed psych::alpha object into a single row...

View source: R/make_alpha_table.R

make_alpha_tableR Documentation

Wrap a pre computed psych::alpha object into a single row table with N and alpha only.

Description

Extracts only the Scale Name, Sample Size (N), and Cronbach's Alpha from a 'psych::alpha' object.

Usage

make_alpha_table(alpha_res, scale_name = "Scale")

Arguments

alpha_res

A psych::alpha object (already computed)

scale_name

Name of the scale (default: "Scale")

Value

A data frame with three columns: Scale,N, and Alpha.

Examples

## Not run: 
library(psych)
res <- psych::alpha(mtcars[,1:3])
make_alpha_table(res, scale_name = "Car Scale")

## End(Not run)

scaledescr documentation built on April 11, 2026, 5:07 p.m.