Skip to contents

Calculates the average hazard ratio from a potential outcome variable.

Usage

calculate_potential_hr(df, potentialOutcome.name)

Arguments

df

Data frame.

potentialOutcome.name

Character. Name of potential outcome variable.

Value

Numeric value of average hazard ratio.