Skip to content

Commit

Permalink
fix the missing theta and info
Browse files Browse the repository at this point in the history
  • Loading branch information
LittleBeannie committed Jan 2, 2024
1 parent 9ef6050 commit 77f3a6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/gs_design_rd.R
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,8 @@ gs_design_rd <- function(p_c = tibble::tibble(stratum = "All", rate = .2),
}

if (h1_spending) {
theta1 <- x$theta
info1 <- x$info
theta1 <- x$theta1
info1 <- x$info1
} else {
theta1 <- 0
info1 <- x$info0
Expand Down

0 comments on commit 77f3a6a

Please sign in to comment.