spicy_continuous_tableStandard broom::tidy() and broom::glance() interfaces for an
object returned by table_continuous(). They re-shape the
underlying long-format data into the two canonical broom views so
the descriptive table can be consumed by gtsummary,
modelsummary, parameters, and any other tidyverse-stats
pipeline.
# S3 method for spicy_continuous_table
tidy(x, ...)# S3 method for spicy_continuous_table
glance(x, ...)
A tbl_df (when tibble is installed) or a plain
data.frame.
A spicy_continuous_table returned by table_continuous().
Currently ignored. Present for compatibility with the
broom::tidy() / broom::glance() generics.
tidy() returns one row per (variable x group) (or per
variable when by is not used) with broom-conventional columns:
outcome, label, group (when applicable), estimate (the
empirical mean), std.error (sd / sqrt(n)), conf.low,
conf.high (the mean confidence interval at ci_level), n,
min, max, sd. The outcome column carries the variable name
and label the human-readable label.
glance() returns one row per variable with the omnibus group
comparison (when by is used) and the requested effect size:
outcome, label, test_type, statistic, df, df.residual,
p.value, es_type, es_value, es_ci_lower, es_ci_upper,
n_total. Without by, only outcome, label, and n_total
are populated; the other columns are NA.
as.data.frame.spicy_continuous_table() for the raw
long-format access; tidy.spicy_continuous_lm_table() for the
model-based companion.