Skip to content

Commit 96d27eb

Browse files
committed
Fix typo in sim_pw_surv
1 parent 85cdc8f commit 96d27eb

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

R/sim_pw_surv.R

+3-3
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@
4545
#' note that treatments need to be the same as input in block.
4646
#'
4747
#' @return A data frame with the following variables for each observation:
48-
#' - `stratum`.
48+
#' - `stratum`: Stratum for the observation.
4949
#' - `enroll_time`: Enrollment time for the observation.
50-
#' - `Treatment`: Treatment group; this will be one of the values
50+
#' - `treatment`: Treatment group; this will be one of the values
5151
#' in the input `block`.
5252
#' - `fail_time`: Failure time generated using [rpwexp()].
5353
#' - `dropout_time`: Dropout time generated using [rpwexp()].
54-
#' - `cte`: Calendar time of enrollment plot the minimum of
54+
#' - `cte`: Calendar time of enrollment plus the minimum of
5555
#' failure time and dropout time.
5656
#' - `fail`: Indicator that `cte` was set using failure time;
5757
#' i.e., 1 is a failure, 0 is a dropout.

man/sim_pw_surv.Rd

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

0 commit comments

Comments
 (0)