Skip to content

Commit

Permalink
fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mattansb committed Sep 6, 2024
1 parent 4ade75a commit 4db6d99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/describe_posterior.R
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ describe_posterior.data.frame <- function(posterior,
cl$posterior <- x_rvar
cl$rvar_col <- NULL
prior_rvar <- .possibly_extract_rvar_col(posterior, bf_prior)
if (length(prior_var) > 0L) {
if (length(prior_rvar) > 0L) {
cl$bf_prior <- prior_rvar
}
out <- eval.parent(cl)
Expand Down
2 changes: 1 addition & 1 deletion R/spi.R
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ spi.get_predicted <- function(x, ci = 0.95, use_iterations = FALSE, verbose = TR
}

# output
data.frame(CI = ci, CI_low = x.l,CI_high = x.u)
data.frame(CI = ci, CI_low = x.l, CI_high = x.u)
}

.spi_lower <- function(bw, n.sims, k, l, dens, x) {
Expand Down

0 comments on commit 4db6d99

Please sign in to comment.