Skip to content

Commit d95ab53

Browse files
committed
Fix lint
1 parent 0e79d23 commit d95ab53

File tree

2 files changed

+15
-7
lines changed

2 files changed

+15
-7
lines changed

R/fda-fig_03.R

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
#' FDA Figure 3: Time to Adverse Event Leading to Treatment Discontinuation, Safety Population, Trial X
22
#'
33
#' @details
4-
#' * `df` must contain the variables specified by `arm_var`, `id_var`, `saffl_var`, `trtsdtm_var`, `trtedtm_var` and `dctreas_var`.
4+
#' * `df` must contain the variables specified by `arm_var`, `id_var`, `saffl_var`, `trtsdtm_var`, `trtedtm_var` and
5+
#' `dctreas_var`.
56
#' * Flag variables (i.e. `XXXFL`) are expected to have two levels: `"Y"` (true) and `"N"` (false). Missing values in
67
#' flag variables are treated as `"N"`.
78
#' * It is assumed that every record for a unique patient in `df` has the same treatment start and end datetime.
8-
#' * Values in the "Number ar risk" table are the number of patients at risk for each arm with treatment duration equal to
9+
#' * Values in the "Number ar risk" table are the number of patients at risk for each arm with treatment duration equal
10+
#' to
911
#' or greater than the given time (times corresponding to the figure's x-ticks labels).
10-
#' * Values in the "Cumulative Number of Patients with Event" table are the cumulative number of patients given time to AEs leading to treatment discontinuation for each arm throughout the trial (times corresponding to the figure's x-ticks labels).
12+
#' * Values in the "Cumulative Number of Patients with Event" table are the cumulative number of patients given time to
13+
#' AEs leading to treatment discontinuation for each arm throughout the trial (times corresponding to the figure's
14+
#' x-ticks labels).
1115
#' * Records with missing treatment start and/or end datetime are excluded from all calculations.
1216
#'
1317
#' @inheritParams argument_convention

man/make_fig_03.Rd

+8-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)