You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`arm_var`| (`character`) Arm variable used to split table into columns. |`"ARM"`|
41
+
|`saffl_var`| (`character`) Flag variable used to indicate inclusion in safety population. |`"SAFFL"`|
42
+
|`id_var`| (`character`) Identifier variable used to count the participants within each flag. |`"USUBJID"`|
43
+
|`trtsdtm_var`| (`character`) Treatment start datetime variable in df. |`"TRTSDTM"`|
44
+
|`trtedtm_var`| (`character`) Treatment end datetime variable in df. |`"TRTEDTM"`|
45
+
|`u_trtdur`| (`character`) Unit for duration of treatment. Options are `"days"`, `"weeks"`, `"months"` and `"years"`. |`"days"`|
46
+
|`dctreas_var`| (`character`) Reason for treatment discontinuation variable used to split figure into lines. |`"DCTREAS"`|
47
+
|`x_lab`| (`character`) x-axis label. |`paste0("Time from first dose (", u_trtdur, ")")`|
48
+
|`y_lab`| (`character`) y-axis label. |`"Percent of Patients (%)"`|
49
+
|`xticks`| (`vector` of `numeric`) x-axis tick positions. If `NA` (default), tick mark positions are automatically calculated. |`NA`|
50
+
|`add_table`| (`flag`) whether "Number of Patients" table should be printed under the plot. |`TRUE`|
51
51
|`annotations`| (named `list` of `character`) List of annotations to add to the figure. Valid annotation types are `title`, `subtitles`, and `caption`. Each name-value pair should use the annotation type as name and the desired string as value. |`NULL`|
52
52
53
53
Source code for this function is available [here](https://github.com/pharmaverse/falcon/blob/main/R/fda-fig_03.R).
0 commit comments