Skip to content

Commit

Permalink
allow for non-unique draw_ids in post-processing
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-buerkner committed Oct 30, 2024
1 parent f024203 commit edecd11
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ Package: brms
Encoding: UTF-8
Type: Package
Title: Bayesian Regression Models using 'Stan'
Version: 2.22.2
Date: 2024-10-02
Version: 2.22.3
Date: 2024-10-30
Authors@R:
c(person("Paul-Christian", "Bürkner", email = "paul.buerkner@gmail.com",
role = c("aut", "cre")),
Expand Down
2 changes: 1 addition & 1 deletion R/prepare_predictions.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ prepare_predictions.brmsfit <- function(
resp <- validate_resp(resp, x)
draw_ids <- validate_draw_ids(x, draw_ids, ndraws)
draws <- as_draws_matrix(x)
draws <- suppressMessages(subset_draws(draws, draw = draw_ids))
draws <- suppressMessages(subset_draws(draws, draw = draw_ids, unique = FALSE))
draws <- point_draws(draws, point_estimate, ndraws_point_estimate)

sdata <- standata(
Expand Down
2 changes: 1 addition & 1 deletion man/prepare_predictions.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit edecd11

Please sign in to comment.