From 2557e341781eb21bcd54a2fba36059a24ce66488 Mon Sep 17 00:00:00 2001 From: Paul Buerkner Date: Wed, 27 May 2020 23:26:10 +0200 Subject: [PATCH] minor cleaning --- R/brmsfit-helpers.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/brmsfit-helpers.R b/R/brmsfit-helpers.R index de6505a2b..45864eb4b 100644 --- a/R/brmsfit-helpers.R +++ b/R/brmsfit-helpers.R @@ -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))