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)

Arguments

object

A surv_ate object.

exponentiate

Logical indicating whether or not to exponentiate the coefficient estimates. Default is TRUE meaning that hazard ratios are returned; if FALSE, then log hazard ratios are returned.

Value

A hazard_ratio object that inherits from dplyr::tibble.