Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Mar 29, 2024
1 parent dad06dc commit 57d7063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/check_predictions.R
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ check_predictions.stanreg <- function(object,
}

# bring data into shape, like we have for other models with `check_predictions()`
if (type == "dens") {
if (pp_type == "dens") {
d_filter <- out[!out$is_y, ]
d_filter <- datawizard::data_to_wide(
d_filter,
Expand Down

0 comments on commit 57d7063

Please sign in to comment.