Skip to content

Commit

Permalink
change x$input$ratio to ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
LittleBeannie committed Nov 13, 2024
1 parent 0d927a3 commit 6a0d23a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/to_integer.R
Original file line number Diff line number Diff line change
Expand Up @@ -348,15 +348,15 @@ to_integer.gs_design <- function(x, round_up_final = TRUE, ratio = x$input$ratio
info_with_new_event <- gs_info_ahr(
enroll_rate = enroll_rate_new,
fail_rate = x$input$fail_rate,
ratio = x$input$ratio,
ratio = ratio,
event = event_new,
analysis_time = NULL
)
} else if (is_wlr) {
info_with_new_event <- gs_info_wlr(
enroll_rate = enroll_rate_new,
fail_rate = x$input$fail_rate,
ratio = x$input$ratio,
ratio = ratio,
event = event_new,
analysis_time = NULL,
weight = x$input$weight
Expand Down

0 comments on commit 6a0d23a

Please sign in to comment.