Skip to content

Commit

Permalink
fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
philchalmers committed Dec 2, 2024
1 parent 10dea9e commit 6df3eae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/PBA.R
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,8 @@ PBA <- function(f, interval, ..., p = .6,
converged <- iter < maxiter
predCIs <- c(NA, NA, NA)
predCIs_root <- c(NA, NA)
names(predCIs_root) <- paste0('CI_', predCI*100)
if(!is.null(FromSimSolve)){
names(predCIs_root) <- paste0('CI_', predCI*100)
predCIs <- SimSolveUniroot(SimMod=SimMod, b=dots$b,
interval=quantile(medhistory[medhistory != 0],
probs = c(.05, .95)),
Expand Down

0 comments on commit 6df3eae

Please sign in to comment.