- data
Data frame
- id
String variable name of the patient ID
- ae
String variable name of the adverse event column
- soc
Optional string variable name of the system organ class column
- by
Optional string variable to split results by, e.g. report AEs by grade or attribution
- strata
Optional string variable to stratify results by,
e.g. report AEs summaries by treatment group
- id_df
Optional data frame of complete id values and strata to achieve correct
base n for the situation in which not all subjects experience adverse events
- by_values
Optional vector of complete by values, listed in desired order,
to achieve correct table structure for the situation in which an adverse
event of a certain grade is not observed for a given soc
- missing_text
String that will be shown for missing levels of by=
,
Default is "Unknown"
- missing_location
location where the column summarizing values with
missing levels by=
will be located in the final table. Must be
one of c("first", "last", "hide)
. Default is "first"