Skip to content

Commit 5537c1c

Browse files
committed
prepare for release of 2.13.1
1 parent 3d88735 commit 5537c1c

File tree

3 files changed

+18
-7
lines changed

3 files changed

+18
-7
lines changed

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Package: rstanarm
22
Type: Package
33
Title: Bayesian Applied Regression Modeling via Stan
4-
Version: 2.12.2
5-
Date: 2016-09-17
4+
Version: 2.13.1
5+
Date: 2016-11-20
66
Authors@R: c(person("Jonah", "Gabry", email = "jsg2201@columbia.edu", role = "aut"),
77
person("Trustees of", "Columbia University", role = "cph"),
88
person("R Core", "Deveopment Team", role = "cph",

R/plots.R

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
#' \code{\link{pp_check}} for graphical posterior predictive checks.
6161
#'
6262
#' @examples
63+
#' \donttest{
6364
#' # Use rstanarm example model
6465
#' if (!exists("example_model")) example(example_model)
6566
#' fit <- example_model
@@ -78,12 +79,10 @@
7879
#' plot(fit, "areas", regex_pars = "period",
7980
#' prob = 0.5, prob_outer = 0.9)
8081
#'
81-
#' \donttest{
8282
#' # Make the same plot by extracting posterior draws and calling
8383
#' # bayesplot::mcmc_areas directly
8484
#' x <- as.array(fit, regex_pars = "period")
8585
#' bayesplot::mcmc_areas(x, prob = 0.5, prob_outer = 0.9)
86-
#' }
8786
#'
8887
#'
8988
#' ##################################
@@ -139,11 +138,9 @@
139138
#' # changing facet layout
140139
#' plot(fit, "trace", pars = c("(Intercept)", "period2"),
141140
#' facet_args = list(nrow = 2))
142-
#' \donttest{
143141
#' # same plot by calling bayesplot::mcmc_trace directly
144142
#' x <- as.array(fit, pars = c("(Intercept)", "period2"))
145143
#' bayesplot::mcmc_trace(x, facet_args = list(nrow = 2))
146-
#' }
147144
#'
148145
#'
149146
#' ############
@@ -155,7 +152,7 @@
155152
#' plot(fit, regex_pars = "herd:[279]")
156153
#' plot(fit, regex_pars = "herd:[279]|period2")
157154
#' plot(fit, regex_pars = c("herd:[279]", "period2"))
158-
#'
155+
#' }
159156
#'
160157
#' # For graphical posterior predictive checks see
161158
#' # help("pp_check.stanreg")

inst/NEWS

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
Sun November 20 2016 (2.13.1)
2+
1. Bug fixes
3+
* Fix bug in reloo() if data was not specified
4+
* Fix bug in pp_validate() that was only introduced on GitHub
5+
2. New features
6+
* Uses the new bayesplot and rstantools R packages
7+
* The new prior_summary() function can be used to figure out what priors were actually used
8+
* stan_gamm4() is better implemented, can be followed by plot_nonlinear(),
9+
posterior_predict (with newdata), etc.
10+
* Hyperparameters (i.e. covariance matrices in general) for lme4 style models are now
11+
returned by as.matrix()
12+
* pp_validate() can now be used if optimization or variational Bayesian inference was
13+
used to estimate the original model
14+
115
Fri September 9 2016 (2.12.1)
216
1. Bug fixes
317
* Fix for bad bug in posterior_predict() when factor labels have spaces in lme4-style models

0 commit comments

Comments
 (0)