Commit f4c872c 1 parent dd82749 commit f4c872c Copy full SHA for f4c872c
File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -323,37 +323,37 @@ gs_update_ahr <- function(
323
323
analysis = 1 : n_analysis ,
324
324
time = x $ analysis $ time ,
325
325
n = x $ analysis $ n ,
326
- event = if (is.null(observed_data ) && is.null( event_tbl )) {
326
+ event = if (is.null(event_tbl )) {
327
327
x $ analysis $ event
328
328
} else {
329
329
observed_event
330
330
},
331
- ahr = if (is.null(observed_data ) && is.null( event_tbl )) {
331
+ ahr = if (is.null(event_tbl )) {
332
332
x $ analysis $ ahr
333
333
} else {
334
334
exp(- blinded_est $ theta )
335
335
},
336
- theta = if (is.null(observed_data ) && is.null( event_tbl )) {
336
+ theta = if (is.null(event_tbl )) {
337
337
x $ analysis $ theta
338
338
} else {
339
339
blinded_est $ theta
340
340
},
341
- info = if (is.null(observed_data ) && is.null( event_tbl )) {
341
+ info = if (is.null(event_tbl )) {
342
342
x $ analysis $ info
343
343
} else {
344
344
blinded_est $ info0
345
345
},
346
- info0 = if (is.null(observed_data ) && is.null( event_tbl )) {
346
+ info0 = if (is.null(event_tbl )) {
347
347
x $ analysis $ info0
348
348
} else {
349
349
blinded_est $ info0
350
350
},
351
- info_frac = if (is.null(observed_data ) && is.null( event_tbl )) {
351
+ info_frac = if (is.null(event_tbl )) {
352
352
x $ analysis $ info_frac
353
353
} else {
354
354
upar_update $ timing
355
355
},
356
- info_frac0 = if (is.null(observed_data ) && is.null( event_tbl )) {
356
+ info_frac0 = if (is.null(event_tbl )) {
357
357
x $ analysis $ info_frac0
358
358
} else {
359
359
observed_event / max(observed_event )
You can’t perform that action at this time.
0 commit comments