Skip to content

Commit

Permalink
minor cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-buerkner committed May 27, 2020
1 parent f9fc249 commit 2557e34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/brmsfit-helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ reorder_obs <- function(eta, old_order = NULL, sort = FALSE) {

# extract argument names of a post-processing method
arg_names <- function(method) {
opts <- c("posterior_predict", "pp_expect", "log_lik")
opts <- c("posterior_predict", "posterior_epred", "log_lik")
method <- match.arg(method, opts)
out <- names(formals(paste0(method, ".brmsfit")))
c(out) <- names(formals(prepare_predictions.brmsfit))
Expand Down

0 comments on commit 2557e34

Please sign in to comment.