Skip to content

Commit 88e1770

Browse files
Merge pull request #342 from jdblischak/edit-docs
Fix a few typos in the documentation for sim_gs_n() and milestone()
2 parents cc7f131 + 5aa367a commit 88e1770

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

R/milestone.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#' @param ms_time Milestone analysis time.
2626
#' @param test_type Method to build the test statistics.
2727
#' There are 2 options:
28-
#' - `"native"`: a native approach by dividing the KM survival difference by its standard derivations,
28+
#' - `"naive"`: a naive approach by dividing the KM survival difference by its standard derivations,
2929
#' see equation (1) of Klein, J. P., Logan, B., Harhoff, M., & Andersen, P. K. (2007).
3030
#' - `"log-log"`: a log-log transformation of the survival, see equation (3) of
3131
#' Klein, J. P., Logan, B., Harhoff, M., & Andersen, P. K. (2007).

R/sim_gs_n.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
#' # IA2
108108
#' # The 2nd interim analysis will occur at the later of the following 3 conditions:
109109
#' # - At least 32 months have passed since the start of the study.
110-
#' # - At least 250 events have occurred.
110+
#' # - At least 200 events have occurred.
111111
#' # - At least 10 months after IA1.
112112
#' # However, if events accumulation is slow, we will wait for a maximum of 34 months.
113113
#' ia2_cut <- create_cut(
@@ -120,7 +120,7 @@
120120
#' # FA
121121
#' # The final analysis will occur at the later of the following 2 conditions:
122122
#' # - At least 45 months have passed since the start of the study.
123-
#' # - At least 300 events have occurred.
123+
#' # - At least 350 events have occurred.
124124
#' fa_cut <- create_cut(
125125
#' planned_calendar_time = 45,
126126
#' target_event_overall = 350

man/milestone.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/sim_gs_n.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)