| gce_tidy | R Documentation |
With effects = FALSE (the default) the omega+ ratio estimates are
returned. With effects = TRUE a covariate-effects comparison table is
returned that juxtaposes, for each covariate, the hazard ratio for the primary
(event-of-interest) hazard, the competing-event hazard, the total (composite,
any-event) hazard, and the relative hazard ratio (the omega+ ratio) from the
GCE model, each with a confidence interval. This lets the investigator see
whether a covariate acts mainly on the event of interest, the competing event,
both, or on their balance.
gce_tidy(object, effects = FALSE, ...)
object |
a |
effects |
logical; if |
... |
unused. |
The individual- and total-event columns are estimated on the same hazard scale
as the fitted model: cause-specific Cox models for a gcecox fit,
and Fine-Gray subdistribution models for a gcefg fit. The total
(composite) event has no competing event, so its subdistribution and
cause-specific hazards coincide and a Cox model on the composite endpoint is
used in both cases.
If effects = FALSE, a data frame with columns term,
log_ratio, ratio, conf.low, conf.high,
p.value. If effects = TRUE, a data frame with columns
term, primary, competing, total, and
relative, each a formatted "HR (low, high)" string.
data(hn)
fit <- gcecox(Surv(time, status) ~ age + t_cat + p16, data = hn, t = 5)
gce_tidy(fit)
gce_tidy(fit, effects = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.