From 8f8df6e1a5e877875e5b1a1b439421d2becc8fb3 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 13 May 2024 22:53:07 +0200 Subject: [PATCH] Error in example Fixes #104 --- R/auto_prior.R | 2 +- man/auto_prior.Rd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/auto_prior.R b/R/auto_prior.R index 1e03636..80b9697 100644 --- a/R/auto_prior.R +++ b/R/auto_prior.R @@ -50,7 +50,7 @@ #' #' ## usage #' # ap <- auto_prior(mf, efc, TRUE) -#' # brm(mf, data = efc, priors = ap) +#' # brm(mf, data = efc, prior = ap) #' #' # add informative priors #' mf <- formula(neg_c_7 ~ c161sex + c172code) diff --git a/man/auto_prior.Rd b/man/auto_prior.Rd index 6404739..88210c4 100644 --- a/man/auto_prior.Rd +++ b/man/auto_prior.Rd @@ -64,7 +64,7 @@ auto_prior(mf, efc, TRUE) ## usage # ap <- auto_prior(mf, efc, TRUE) -# brm(mf, data = efc, priors = ap) +# brm(mf, data = efc, prior = ap) # add informative priors mf <- formula(neg_c_7 ~ c161sex + c172code)