|
70 | 70 | #' lower = gs_spending_bound,
|
71 | 71 | #' lpar = list(sf = gsDesign::sfLDOF, total_spend = 0.2),
|
72 | 72 | #' analysis_time = 36,
|
73 |
| -#' info_frac = 1:3/3 |
| 73 | +#' info_frac = c(0.6, 1) |
74 | 74 | #' )
|
75 | 75 | #'
|
76 | 76 | #' # Example 2 ----
|
|
87 | 87 | #' upar = list(sf = gsDesign::sfLDOF, total_spend = 0.025),
|
88 | 88 | #' lower = gs_spending_bound,
|
89 | 89 | #' lpar = list(sf = gsDesign::sfLDOF, total_spend = 0.2),
|
90 |
| -#' analysis_time = 1:3*12, |
| 90 | +#' analysis_time = c(24, 36), |
91 | 91 | #' info_frac = NULL
|
92 | 92 | #' )
|
93 | 93 | #'
|
|
105 | 105 | #' upar = list(sf = gsDesign::sfLDOF, total_spend = 0.025),
|
106 | 106 | #' lower = gs_spending_bound,
|
107 | 107 | #' lpar = list(sf = gsDesign::sfLDOF, total_spend = 0.2),
|
108 |
| -#' analysis_time = 1:3*12, |
109 |
| -#' info_frac = c(0.3, 0.7, 1) |
| 108 | +#' analysis_time = c(24, 36), |
| 109 | +#' info_frac = c(0.6, 1) |
110 | 110 | #' )
|
111 | 111 | gs_design_wlr <- function(
|
112 | 112 | enroll_rate = define_enroll_rate(
|
|
0 commit comments