Skip to content

Commit 4dcb5b4

Browse files
Merge pull request #275 from easystats/dev
prepare CRAN release
2 parents ec7a75b + 09e39ff commit 4dcb5b4

79 files changed

Lines changed: 283 additions & 590 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

DESCRIPTION

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: bayestestR
22
Type: Package
33
Title: Understand and Describe Bayesian Models and Posterior Distributions
4-
Version: 0.4.9
4+
Version: 0.5.0
55
Authors@R: c(
66
person("Dominique",
77
"Makowski",
@@ -43,7 +43,7 @@ Authors@R: c(
4343
comment = c(ORCID = "0000-0001-5510-6943"))
4444
)
4545
Maintainer: Dominique Makowski <dom.makowski@gmail.com>
46-
URL: https://github.com/easystats/bayestestR
46+
URL: https://easystats.github.io/bayestestR/
4747
BugReports: https://github.com/easystats/bayestestR/issues
4848
Description: Provides utilities to describe posterior distributions and Bayesian models. It includes point-estimates such as Maximum A Posteriori (MAP), measures of dispersion (Highest Density Interval - HDI; Kruschke, 2015 <doi:10.1016/C2012-0-00477-2>) and indices used for null-hypothesis testing (such as ROPE percentage, pd and Bayes factors).
4949
License: GPL-3
@@ -52,7 +52,7 @@ LazyData: true
5252
Depends:
5353
R (>= 3.0)
5454
Imports:
55-
insight (>= 0.7.0),
55+
insight (>= 0.8.0),
5656
methods,
5757
stats,
5858
utils

R/weighted_posteriors.R

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,24 +27,29 @@
2727
#' @seealso \code{\link{bayesfactor_inclusion}} for Bayesian model averaging.
2828
#'
2929
#' @examples
30-
#' \dontrun{
30+
#' \donttest{
3131
#' library(rstanarm)
32+
#' library(see)
3233
#'
3334
#' stan_m0 <- stan_glm(extra ~ 1, data = sleep,
3435
#' family = gaussian(),
36+
#' refresh=0,
3537
#' diagnostic_file = file.path(tempdir(), "df0.csv"))
3638
#'
3739
#' stan_m1 <- stan_glm(extra ~ group, data = sleep,
3840
#' family = gaussian(),
41+
#' refresh=0,
3942
#' diagnostic_file = file.path(tempdir(), "df1.csv"))
4043
#'
4144
#'
4245
#' res <- weighted_posteriors(stan_m0, stan_m1)
4346
#'
4447
#' plot(eti(res))
4548
#'
46-
#' # With BayesFactor
49+
#' # With BayesFactor and brms
4750
#' library(BayesFactor)
51+
#' library(brms)
52+
#'
4853
#' BFmods <- anovaBF(extra ~ group + ID, sleep, whichRandom = "ID")
4954
#'
5055
#' res <- weighted_posteriors(BFmods)[1:3]

docs/404.html

Lines changed: 2 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/CODE_OF_CONDUCT.html

Lines changed: 2 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/CONTRIBUTING.html

Lines changed: 3 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/LICENSE-text.html

Lines changed: 2 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/PULL_REQUEST_TEMPLATE.html

Lines changed: 2 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/articles/bayes_factors.html

Lines changed: 5 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/articles/bayestestR.html

Lines changed: 3 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/articles/credible_interval.html

Lines changed: 3 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)