From 099976937ffcd3c122d0abb4a30fe4ca676d17bd Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 26 Nov 2024 11:04:10 +0100 Subject: [PATCH 1/6] Prepare CRAN release --- DESCRIPTION | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 84b882f55..4d4d972e7 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Type: Package Package: parameters Title: Processing of Model Parameters -Version: 0.23.0.11 +Version: 0.24.0 Authors@R: c(person(given = "Daniel", family = "Lüdecke", @@ -224,4 +224,3 @@ Config/testthat/edition: 3 Config/testthat/parallel: true Config/Needs/website: easystats/easystatstemplate Config/rcmdcheck/ignore-inconsequential-notes: true -Remotes: easystats/insight From 3ee6affa655cf0b13db4adc63bdb1a64dad9995c Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 26 Nov 2024 16:09:54 +0100 Subject: [PATCH 2/6] update deps --- DESCRIPTION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 4d4d972e7..f880287b1 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -80,7 +80,7 @@ Depends: Imports: bayestestR (>= 0.15.0), datawizard (>= 0.13.0), - insight (>= 0.20.5), + insight (>= 1.0.0), graphics, methods, stats, From 2a99f430b25850306f2ba131d75298921a6585d0 Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 26 Nov 2024 17:04:39 +0100 Subject: [PATCH 3/6] Update DESCRIPTION --- DESCRIPTION | 1 + 1 file changed, 1 insertion(+) diff --git a/DESCRIPTION b/DESCRIPTION index f880287b1..4473416bb 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -224,3 +224,4 @@ Config/testthat/edition: 3 Config/testthat/parallel: true Config/Needs/website: easystats/easystatstemplate Config/rcmdcheck/ignore-inconsequential-notes: true +Remotes: easystats/insight From a45c819493b1a9cf3e564182b8c5b06cea1904c7 Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 26 Nov 2024 22:43:34 +0100 Subject: [PATCH 4/6] fix --- DESCRIPTION | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 4473416bb..cdc9e0e4d 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -155,7 +155,7 @@ Suggests: logspline, lqmm, M3C, - marginaleffects (>= 0.20.1), + marginaleffects (>= 0.20.4), MASS, Matrix, mclogit, @@ -224,4 +224,4 @@ Config/testthat/edition: 3 Config/testthat/parallel: true Config/Needs/website: easystats/easystatstemplate Config/rcmdcheck/ignore-inconsequential-notes: true -Remotes: easystats/insight +Remotes: easystats/insight, vincentarelbundock/marginaleffects From 0d31d83adff2bff44cea1d275281afdfda1d9a46 Mon Sep 17 00:00:00 2001 From: Daniel Date: Wed, 27 Nov 2024 10:31:04 +0100 Subject: [PATCH 5/6] submit --- DESCRIPTION | 1 - 1 file changed, 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index cdc9e0e4d..f6a55d14d 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -224,4 +224,3 @@ Config/testthat/edition: 3 Config/testthat/parallel: true Config/Needs/website: easystats/easystatstemplate Config/rcmdcheck/ignore-inconsequential-notes: true -Remotes: easystats/insight, vincentarelbundock/marginaleffects From 0c6b89d655f8e27d8401aa0fb84cf54ce96abb40 Mon Sep 17 00:00:00 2001 From: Daniel Date: Wed, 27 Nov 2024 11:50:37 +0100 Subject: [PATCH 6/6] fix docs ref --- R/1_model_parameters.R | 9 ++++----- man/model_parameters.Rd | 2 +- man/model_parameters.cgam.Rd | 6 +++--- man/model_parameters.default.Rd | 6 +++--- man/model_parameters.glimML.Rd | 6 +++--- man/model_parameters.glmmTMB.Rd | 6 +++--- man/model_parameters.mlm.Rd | 6 +++--- man/model_parameters.rma.Rd | 6 +++--- man/model_parameters.zcpglm.Rd | 6 +++--- 9 files changed, 26 insertions(+), 27 deletions(-) diff --git a/R/1_model_parameters.R b/R/1_model_parameters.R index 15f5020e1..41c0d073e 100644 --- a/R/1_model_parameters.R +++ b/R/1_model_parameters.R @@ -13,7 +13,7 @@ #' **scam**, **VGAM**, `Gam` (although the output of `Gam` is more Anova-alike), #' `gamm`, ... #' - [ANOVA][model_parameters.aov()]: **afex**, `aov`, `anova`, `Gam`, ... -#' - [Bayesian][model_parameters.stanreg()]: **BayesFactor**, **blavaan**, **brms**, +#' - [Bayesian][model_parameters.brmsfit()]: **BayesFactor**, **blavaan**, **brms**, #' **MCMCglmm**, **posterior**, **rstanarm**, `bayesQR`, `bcplm`, `BGGM`, `blmrm`, #' `blrm`, `mcmc.list`, `MCMCglmm`, ... #' - [Clustering][model_parameters.hclust()]: **hclust**, **kmeans**, **mclust**, **pam**, ... @@ -426,10 +426,9 @@ parameters <- model_parameters #' #' @param model Model object. #' @param ci Confidence Interval (CI) level. Default to `0.95` (`95%`). -#' @param bootstrap Should estimates be based on bootstrapped model? If -#' `TRUE`, then arguments of [Bayesian -#' regressions][model_parameters.stanreg] apply (see also -#' [`bootstrap_parameters()`]). +#' @param bootstrap Should estimates be based on bootstrapped model? If `TRUE`, +#' then arguments of [Bayesian regressions][model_parameters.brmsfit] apply +#' (see also [`bootstrap_parameters()`]). #' @param iterations The number of bootstrap replicates. This only apply in the #' case of bootstrapped frequentist models. #' @param standardize The method used for standardizing the parameters. Can be diff --git a/man/model_parameters.Rd b/man/model_parameters.Rd index 387a1b29c..e63b27c28 100644 --- a/man/model_parameters.Rd +++ b/man/model_parameters.Rd @@ -43,7 +43,7 @@ the model-specific documentation: \strong{scam}, \strong{VGAM}, \code{Gam} (although the output of \code{Gam} is more Anova-alike), \code{gamm}, ... \item \link[=model_parameters.aov]{ANOVA}: \strong{afex}, \code{aov}, \code{anova}, \code{Gam}, ... -\item \link[=model_parameters.stanreg]{Bayesian}: \strong{BayesFactor}, \strong{blavaan}, \strong{brms}, +\item \link[=model_parameters.brmsfit]{Bayesian}: \strong{BayesFactor}, \strong{blavaan}, \strong{brms}, \strong{MCMCglmm}, \strong{posterior}, \strong{rstanarm}, \code{bayesQR}, \code{bcplm}, \code{BGGM}, \code{blmrm}, \code{blrm}, \code{mcmc.list}, \code{MCMCglmm}, ... \item \link[=model_parameters.hclust]{Clustering}: \strong{hclust}, \strong{kmeans}, \strong{mclust}, \strong{pam}, ... diff --git a/man/model_parameters.cgam.Rd b/man/model_parameters.cgam.Rd index d444ecba8..e6c570c8e 100644 --- a/man/model_parameters.cgam.Rd +++ b/man/model_parameters.cgam.Rd @@ -34,9 +34,9 @@ options (which vary depending on the model class): \code{"residual"}, \code{\link[=model_parameters]{model_parameters()}} for further details. When \code{ci_method=NULL}, in most cases \code{"wald"} is used then.} -\item{bootstrap}{Should estimates be based on bootstrapped model? If -\code{TRUE}, then arguments of \link[=model_parameters.stanreg]{Bayesian regressions} apply (see also -\code{\link[=bootstrap_parameters]{bootstrap_parameters()}}).} +\item{bootstrap}{Should estimates be based on bootstrapped model? If \code{TRUE}, +then arguments of \link[=model_parameters.brmsfit]{Bayesian regressions} apply +(see also \code{\link[=bootstrap_parameters]{bootstrap_parameters()}}).} \item{iterations}{The number of bootstrap replicates. This only apply in the case of bootstrapped frequentist models.} diff --git a/man/model_parameters.default.Rd b/man/model_parameters.default.Rd index 25c595b89..df3d7d934 100644 --- a/man/model_parameters.default.Rd +++ b/man/model_parameters.default.Rd @@ -38,9 +38,9 @@ options (which vary depending on the model class): \code{"residual"}, \code{\link[=model_parameters]{model_parameters()}} for further details. When \code{ci_method=NULL}, in most cases \code{"wald"} is used then.} -\item{bootstrap}{Should estimates be based on bootstrapped model? If -\code{TRUE}, then arguments of \link[=model_parameters.stanreg]{Bayesian regressions} apply (see also -\code{\link[=bootstrap_parameters]{bootstrap_parameters()}}).} +\item{bootstrap}{Should estimates be based on bootstrapped model? If \code{TRUE}, +then arguments of \link[=model_parameters.brmsfit]{Bayesian regressions} apply +(see also \code{\link[=bootstrap_parameters]{bootstrap_parameters()}}).} \item{iterations}{The number of bootstrap replicates. This only apply in the case of bootstrapped frequentist models.} diff --git a/man/model_parameters.glimML.Rd b/man/model_parameters.glimML.Rd index c5d9c5266..55a3c3e31 100644 --- a/man/model_parameters.glimML.Rd +++ b/man/model_parameters.glimML.Rd @@ -26,9 +26,9 @@ \item{ci}{Confidence Interval (CI) level. Default to \code{0.95} (\verb{95\%}).} -\item{bootstrap}{Should estimates be based on bootstrapped model? If -\code{TRUE}, then arguments of \link[=model_parameters.stanreg]{Bayesian regressions} apply (see also -\code{\link[=bootstrap_parameters]{bootstrap_parameters()}}).} +\item{bootstrap}{Should estimates be based on bootstrapped model? If \code{TRUE}, +then arguments of \link[=model_parameters.brmsfit]{Bayesian regressions} apply +(see also \code{\link[=bootstrap_parameters]{bootstrap_parameters()}}).} \item{iterations}{The number of bootstrap replicates. This only apply in the case of bootstrapped frequentist models.} diff --git a/man/model_parameters.glmmTMB.Rd b/man/model_parameters.glmmTMB.Rd index ab7482d5d..6f27c63db 100644 --- a/man/model_parameters.glmmTMB.Rd +++ b/man/model_parameters.glmmTMB.Rd @@ -53,9 +53,9 @@ computed by default, for simpler models or fewer observations, confidence intervals will be included. Set explicitly to \code{TRUE} or \code{FALSE} to enforce or omit calculation of confidence intervals.} -\item{bootstrap}{Should estimates be based on bootstrapped model? If -\code{TRUE}, then arguments of \link[=model_parameters.stanreg]{Bayesian regressions} apply (see also -\code{\link[=bootstrap_parameters]{bootstrap_parameters()}}).} +\item{bootstrap}{Should estimates be based on bootstrapped model? If \code{TRUE}, +then arguments of \link[=model_parameters.brmsfit]{Bayesian regressions} apply +(see also \code{\link[=bootstrap_parameters]{bootstrap_parameters()}}).} \item{iterations}{The number of bootstrap replicates. This only apply in the case of bootstrapped frequentist models.} diff --git a/man/model_parameters.mlm.Rd b/man/model_parameters.mlm.Rd index 2f7f7ec28..eb786f2bc 100644 --- a/man/model_parameters.mlm.Rd +++ b/man/model_parameters.mlm.Rd @@ -54,9 +54,9 @@ arguments. If no estimation type (argument \code{type}) is given, the default type for \code{"HC"} equals the default from the \strong{sandwich} package; for type \code{"CR"}, the default is set to \code{"CR3"}.} -\item{bootstrap}{Should estimates be based on bootstrapped model? If -\code{TRUE}, then arguments of \link[=model_parameters.stanreg]{Bayesian regressions} apply (see also -\code{\link[=bootstrap_parameters]{bootstrap_parameters()}}).} +\item{bootstrap}{Should estimates be based on bootstrapped model? If \code{TRUE}, +then arguments of \link[=model_parameters.brmsfit]{Bayesian regressions} apply +(see also \code{\link[=bootstrap_parameters]{bootstrap_parameters()}}).} \item{iterations}{The number of bootstrap replicates. This only apply in the case of bootstrapped frequentist models.} diff --git a/man/model_parameters.rma.Rd b/man/model_parameters.rma.Rd index 095a100a0..a24728649 100644 --- a/man/model_parameters.rma.Rd +++ b/man/model_parameters.rma.Rd @@ -23,9 +23,9 @@ \item{ci}{Confidence Interval (CI) level. Default to \code{0.95} (\verb{95\%}).} -\item{bootstrap}{Should estimates be based on bootstrapped model? If -\code{TRUE}, then arguments of \link[=model_parameters.stanreg]{Bayesian regressions} apply (see also -\code{\link[=bootstrap_parameters]{bootstrap_parameters()}}).} +\item{bootstrap}{Should estimates be based on bootstrapped model? If \code{TRUE}, +then arguments of \link[=model_parameters.brmsfit]{Bayesian regressions} apply +(see also \code{\link[=bootstrap_parameters]{bootstrap_parameters()}}).} \item{iterations}{The number of bootstrap replicates. This only apply in the case of bootstrapped frequentist models.} diff --git a/man/model_parameters.zcpglm.Rd b/man/model_parameters.zcpglm.Rd index d46fe2b74..6b9eddfc9 100644 --- a/man/model_parameters.zcpglm.Rd +++ b/man/model_parameters.zcpglm.Rd @@ -26,9 +26,9 @@ \item{ci}{Confidence Interval (CI) level. Default to \code{0.95} (\verb{95\%}).} -\item{bootstrap}{Should estimates be based on bootstrapped model? If -\code{TRUE}, then arguments of \link[=model_parameters.stanreg]{Bayesian regressions} apply (see also -\code{\link[=bootstrap_parameters]{bootstrap_parameters()}}).} +\item{bootstrap}{Should estimates be based on bootstrapped model? If \code{TRUE}, +then arguments of \link[=model_parameters.brmsfit]{Bayesian regressions} apply +(see also \code{\link[=bootstrap_parameters]{bootstrap_parameters()}}).} \item{iterations}{The number of bootstrap replicates. This only apply in the case of bootstrapped frequentist models.}