Wrapper for P-value of interaction tests
Usage
p_val_interaction(
  dat,
  event_index,
  treatment_var,
  treatment_refval,
  subjectid_var,
  strata_var,
  odds_ratio = NA,
  correct = FALSE,
  ...
)Arguments
- dat
 data.table. The analysis data set.
- event_index
 vector of integers that index the rows in
datthat match the definition of an 'event'. Matching is done via theINDEX_column indat.- treatment_var
 character. The name of the treatment variable in the data.
- treatment_refval
 character. The reference value of the treatment variable in the data.
- subjectid_var
 character. Name of the subject identifier variable in the data (default is "USUBJID").
- strata_var
 character. Variable in the analysis data to stratify by specific for this call.
- odds_ratio
 numeric. Odds Ration (default = NA).
- correct
 logical. If TRUE Tarones correction is returned (default = FALSE).
- ...
 Optional parameters.
