
Evaluate inclusion criterion for by-strata-by-treatment statistics based on the p-value in the total population.
crit_bb_pval_01.RdThis function checks if the p-value in the total population is below a specified maximum.
Usage
crit_bb_pval_01(
  dat,
  event_index,
  cell_index,
  treatment_var,
  treatment_refval,
  subjectid_var,
  pval_max,
  ...
)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.- cell_index
 A vector of integers referencing the rows of
dat(as specified by theINDEX_column indat) that match the population to be analyzed. See the "Endpoint Events" vignette in ramnog for more information.- treatment_var
 character. The name of the treatment variable in
dat.- treatment_refval
 character. The reference value of the treatment variable in
dat.- subjectid_var
 character. Name of the subject identifier variable in
dat(default is "USUBJID").- pval_max
 The maximum p-value.
- ...
 Additional arguments passed to the function.