calculate_potential_hr: Calculate potential outcome hazard ratio
Description
Calculates the average hazard ratio from a potential outcome variable.
Usage
calculate_potential_hr(df, potentialOutcome.name)
Value
Numeric value of average hazard ratio.
Arguments
- df
Data frame.
- potentialOutcome.name
Character. Name of potential outcome variable.