Convert regression results to modelsummary input
Usage
as_modelsummary(x, ...)
# S3 method for class 'polyreg'
as_modelsummary(
x,
event = c("both", "event1", "event2"),
conf.int = x$conf.int,
variance = NULL,
...,
display.labels = TRUE
)Arguments
- x
A supported fitted model.
- ...
Model-specific inference and coefficient-selection arguments.
- event
For polyreg, event1, event2, or both (the default).
- conf.int
Interval level. For polyreg, defaults to its fitted level.
- variance
Covariance estimator: if or bootstrap for polyreg. Omitting it preserves the stored inference.
- display.labels
Use stored display labels for the exposure contrasts in the modelsummary table. Set to
FALSEto retain the original term names in the adapter output.