Learn R Programming

volker (version 3.0.0)

effect_metrics_items: Test whether a distribution is normal for each item

Description

The test is calculated using stats::shapiro.test.

Usage

effect_metrics_items(data, cols, labels = TRUE, clean = TRUE, ...)

Value

A volker table containing item statistics

Arguments

data

A tibble containing item measures.

cols

The column holding metric values.

labels

If TRUE (default) extracts labels from the attributes, see codebook.

clean

Prepare data by data_clean.

...

Placeholder to allow calling the method with unused parameters from effect_metrics.

Examples

Run this code
library(volker)
data <- volker::chatgpt

effect_metrics_items(data, starts_with("cg_adoption"))


Run the code above in your browser using DataLab