@@ -296,8 +296,16 @@ gs_update_ahr <- function(
296
296
x_updated_h0 <- gs_power_npe(theta = 0 ,
297
297
theta0 = 0 ,
298
298
theta1 = x $ analysis $ theta ,
299
+ # statistical information at all analyses for input `theta`
299
300
info = x $ analysis $ info0 ,
300
- info_scale = " h0_info" ,
301
+ # statistical information under null hypothesis,
302
+ # impacts null hypothesis bound calculation.
303
+ info0 = x $ analysis $ info0 ,
304
+ # statistical information under hypothesis used for
305
+ # futility bound calculation if different from `info`
306
+ # impacts futility hypothesis bound calculation.
307
+ info1 = x $ analysis $ info ,
308
+ info_scale = x $ input $ info_scale ,
301
309
upper = x $ input $ upper , upar = upar_update ,
302
310
test_upper = x $ input $ test_upper ,
303
311
lower = x $ input $ lower , lpar = x $ input $ lpar ,
@@ -308,9 +316,16 @@ gs_update_ahr <- function(
308
316
x_updated_h1 <- gs_power_npe(theta = x $ analysis $ theta ,
309
317
theta0 = 0 ,
310
318
theta1 = x $ analysis $ theta ,
319
+ # statistical information under null hypothesis,
320
+ # impacts null hypothesis bound calculation.
311
321
info0 = x $ analysis $ info0 ,
322
+ # statistical information at all analyses for input `theta`
312
323
info = x $ analysis $ info ,
313
- info_scale = " h0_info" ,
324
+ # statistical information under hypothesis used for
325
+ # futility bound calculation if different from `info`
326
+ # impacts futility hypothesis bound calculation.
327
+ info1 = NULL ,
328
+ info_scale = x $ input $ info_scale ,
314
329
upper = x $ input $ upper , upar = upar_update ,
315
330
test_upper = x $ input $ test_upper ,
316
331
lower = x $ input $ lower , lpar = x $ input $ lpar ,
0 commit comments