tab_metrics_one_grouped {volker} | R Documentation |
Output a five point summary for groups
Description
Output a five point summary for groups
Usage
tab_metrics_one_grouped(
data,
col,
cross,
negative = FALSE,
ci = FALSE,
digits = 1,
labels = TRUE,
clean = TRUE,
...
)
Arguments
data |
A tibble. |
col |
The column holding metric values. |
cross |
The column holding groups to compare. |
negative |
If FALSE (default), negative values are recoded as missing values. |
ci |
Whether to output 95% confidence intervals. |
digits |
The number of digits to print. |
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 tab_metrics. |
Value
A volker tibble.
Examples
library(volker)
data <- volker::chatgpt
tab_metrics_one_grouped(data, sd_age, sd_gender)
[Package volker version 2.0.1 Index]