Calculate weights for each arm of a long data.frame

generate_ccw_calc_weights(df, event_times_df, predvars)

Arguments

df

the data.frame for a single arm

event_times_df

the event times data.frame

predvars

the baseline variables for adjustment

Value

a data.frame with weight columns included