model_metrics_tab | R Documentation |
The regression output comes from stats::lm
.
model_metrics_tab(
data,
col,
categorical,
metric,
labels = TRUE,
clean = TRUE,
...
)
data |
A tibble. |
col |
The target column holding metric values. |
categorical |
A tidy column selection holding categorical variables. |
metric |
A tidy column selection holding metric variables. |
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 containing volker tables with the requested statistics.
library(volker)
data <- volker::chatgpt
data |>
filter(sd_gender != "diverse") |>
model_metrics_tab(use_work, categorical = c(sd_gender, adopter), metric = sd_age)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.