Skip to content

Commit

Permalink
Fix tables
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-imbi committed Aug 14, 2023
1 parent b17b3ea commit 99bc3b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/table_format_functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ make_table <- function(D_list){
`$b_{1, TC, e}$` = D$b[[1]][["TC"]][["efficacy"]],
`$b_{2, TP, e}$` = NA_real_,
`$b_{2, TC, e}$` = NA_real_,
`$n_{\\max}$` = sum(unlist(D$n)),
`$n_{\\max}$` = sum(round(unlist(D$n))),
`$N_{H_0}$` = D$ASN[["H0"]],
`$N_{H_1}$` = D$ASN[["H1"]],
`$N_{H_0}^{P}$` = D$ASNP[["H0"]],
Expand Down Expand Up @@ -104,7 +104,7 @@ make_table <- function(D_list){
`$b_{1, TC, e}$` = D$b[[1]][["TC"]][["efficacy"]],
`$b_{2, TP, e}$` = D$b[[2]][["TP"]][["efficacy"]],
`$b_{2, TC, e}$` = D$b[[2]][["TC"]][["efficacy"]],
`$n_{\\max}$` = sum(unlist(D$n)),
`$n_{\\max}$` = sum(round(unlist(D$cumn[[2]]))),
`$N_{H_0}$` = D$ASN[["H0"]],
`$N_{H_1}$` = D$ASN[["H1"]],
`$N_{H_0}^{P}$` = D$ASNP[["H0"]],
Expand Down

0 comments on commit 99bc3b0

Please sign in to comment.