Building-block: Proportion of subjects having at least one event
Source:R/building_blocks.R
p_subj_event_.Rd
Building-block: Proportion of subjects having at least one event
Arguments
- dat
data.table. The analysis data set.
- 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.- intersect_index
A vector of intergers referencing the rows of
dat
that match both (1) the population to be analyzed and (2) the defenition of an event- subjectid_var
character. Name of the subject identifier variable in the data (default is "USUBJID").