From 3b4035c98caea5b9e36e517c090308eb8daa9c39 Mon Sep 17 00:00:00 2001 From: "Mattan S. Ben-Shachar" Date: Wed, 26 Jun 2024 09:36:29 +0300 Subject: [PATCH] Update interpret_ess_rhat.R --- R/interpret_ess_rhat.R | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/R/interpret_ess_rhat.R b/R/interpret_ess_rhat.R index e89dca01..9207b4fe 100644 --- a/R/interpret_ess_rhat.R +++ b/R/interpret_ess_rhat.R @@ -45,7 +45,7 @@ interpret_ess <- function(ess, rules = "burkner2017") { rules <- .match.rules( rules, list( - burkner2017 = rules(c(1000), c("insufficient", "sufficient"), name = "burkner2017", right = FALSE) + burkner2017 = rules(1000, c("insufficient", "sufficient"), name = "burkner2017", right = FALSE) ) ) @@ -60,8 +60,8 @@ interpret_rhat <- function(rhat, rules = "vehtari2019") { rules <- .match.rules( rules, list( - vehtari2019 = rules(c(1.01), c("converged", "failed"), name = "vehtari2019"), - gelman1992 = rules(c(1.1), c("converged", "failed"), name = "gelman1992") + vehtari2019 = rules(1.01, c("converged", "failed"), name = "vehtari2019"), + gelman1992 = rules(1.1, c("converged", "failed"), name = "gelman1992") ) )