R port of the Python module morie.tables_pub. Builds Table 1
(baseline characteristics), regression tables, odds-ratio and
hazard-ratio tables, correlation matrices, model comparison tables,
ANOVA tables, summary-statistics tables and treatment-effect tables.
Details
Output rendering goes through knitr::kable for "latex", "html",
"markdown", "pipe" and "rst" formats; "dataframe" returns the raw
data.frame, and "text" returns utils::capture.output on
the frame. The gt package is supported as an optional
richer-output backend when installed (Suggests-gated).
Functions consume R-native model objects:
regression_tableacceptslm,glmor any object responding tocoef,vcovandconfint.odds_ratio_tableaccepts a fittedglmwithfamily = binomial().hazard_ratio_tableaccepts acoxphfit, or per-parameterbeta,seandpvectors.anova_tablewrapsstats::anova/car::Anova.