effect_metrics_one | R Documentation |
The test is calculated using stats::shapiro.test
.
effect_metrics_one(data, col, labels = TRUE, clean = TRUE, ...)
data |
A tibble. |
col |
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. |
A volker list object with the following statistical measures:
skewness: Measure of asymmetry in the distribution. A value of 0 indicates perfect symmetry.
kurtosis: Measure of the "tailedness" of the distribution.
W: W-statistic from the Shapiro-Wilk normality test.
p: p-value for the statistical test.
stars: Significance stars based on p-value (*, **, ***).
normality: Interpretation of normality based on Shapiro-Wilk test.
library(volker)
data <- volker::chatgpt
effect_metrics_one(data, sd_age)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.