Obtain estimated hazard ratios in a tidy data frame from a surv_ate
object and
quickly plot them using autoplot()
.
hazard_ratio(object, exponentiate = TRUE) # S3 method for hazard_ratio autoplot(object)
object | A |
---|---|
exponentiate | Logical indicating whether or not to exponentiate
the coefficient estimates. Default is |
A hazard_ratio
object that inherits from dplyr::tibble
.