Skip to content

Commit 7b70391

Browse files
committed
fix argument name
1 parent 72edaa5 commit 7b70391

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/check_predictions.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ check_predictions.stanreg <- function(
198198
)
199199
} else {
200200
out <- as.data.frame(
201-
bayesplot::pp_check(object, type = pp_type, nreps = iterations, ...)$data
201+
bayesplot::pp_check(object, plotfun = pp_type, nreps = iterations, ...)$data
202202
)
203203
}
204204

0 commit comments

Comments
 (0)