long_data
|
A data frame in long format (one row per participant-arm-month), as produced by expand_to_long(). Must contain the id, arm, month, month2, and bc_long columns (or as specified via the *_col arguments).
|
screening_mammograms
|
A data frame of screening mammogram events with participant ID and calendar month columns.
|
diagnostic_mammograms
|
A data frame of diagnostic mammogram events with participant ID and calendar month columns.
|
id_col
|
Name of the participant ID column. Default: “id”.
|
arm_col
|
Name of the trial arm column. Default: “arm”.
|
month_col
|
Name of the calendar-month column (same scale as the mammogram event months). Default: “month”.
|
month2_col
|
Name of the 0-indexed month-from-entry column. Default: “month2”.
|
bc_long_col
|
Name of the per-month breast-cancer-diagnosis indicator column. Default: “bc_long”.
|
event_month_col
|
Name of the calendar-month column in the mammogram event data frames. Default: “month”.
|
dx_reclass_months
|
A screening mammogram occurring this many months or fewer after the previous mammogram is reclassified as diagnostic. Default: 8L.
|