Skip to content

Commit

Permalink
Update NEWS and references
Browse files Browse the repository at this point in the history
  • Loading branch information
jgabry committed Apr 29, 2018
1 parent 0725a30 commit 2182c75
Show file tree
Hide file tree
Showing 9 changed files with 99 additions and 37 deletions.
10 changes: 10 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# shinystan 2.5.0

* New website with online documentation: http://mc-stan.org/shinystan

* Fixed problem with extracting info from fits reconstructed from CSV files (#128,#158), thanks to @martinmodrak


# shinystan 2.4.0

* `launch_shinystan` is now an S3 generic with methods. This allows developers
Expand All @@ -10,11 +17,14 @@ conflict.
### Fixes
* Fix various issues resulting in errors for models fit using static HMC (thanks
to Cole Monnahan).

* Deprecate `burnin` argument to `as.shinystan`. Use `warmup` instead. Only
relevant for models _not_ fit using Stan.

### New features

* Add NUTS energy diagnostic plots to Diagnose page

* Allowing passing `sampler_params` to `as.shinystan`. This makes it possible to
display sampler diagnositcs for HMC/NUTS even if not using Stan's implementation
of those algorithms (thanks to Cole Monnahan).
Expand Down
4 changes: 3 additions & 1 deletion R/launch_shinystan.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
#' @template seealso-as.shinystan
#' @template seealso-update_sso
#' @template seealso-demo
#'
#'
#' @template reference-muth
#' @template reference-bayesvis
#'
#' @examples
#' \dontrun{
Expand Down
2 changes: 2 additions & 0 deletions R/shinystan-objects.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
#' @template seealso-generate_quantity
#' @seealso \code{\link{shinystan-metadata}} to view or change metadata
#' associated with a \code{shinystan} object.
#'
#' @template reference-muth
#'
shinystan <- setClass(
Class = "shinystan",
Expand Down
43 changes: 25 additions & 18 deletions R/shinystan-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# this program; if not, see <http://www.gnu.org/licenses/>.


#' 'ShinyStan' interface and \code{shinystan} R package
#' \pkg{shinystan} R package ('ShinyStan' graphical user interface)
#'
#' @docType package
#' @name shinystan-package
Expand All @@ -22,25 +22,27 @@
#' \emph{Stan Development Team}
#' }
#'
#' Applied Bayesian data analysis is primarily implemented through the Markov
#' chain Monte Carlo (MCMC) algorithms offered by various software packages.
#' When analyzing a posterior sample obtained by one of these algorithms the
#' Applied Bayesian data analysis is primarily implemented through the Markov
#' chain Monte Carlo (MCMC) algorithms offered by various software packages.
#' When analyzing a posterior sample obtained by one of these algorithms the
#' first step is to check for signs that the chains have converged to the target
#' distribution and and also for signs that the algorithm might require tuning
#' or might be ill-suited for the given model. There may also be theoretical
#' distribution and and also for signs that the algorithm might require tuning
#' or might be ill-suited for the given model. There may also be theoretical
#' problems or practical inefficiencies with the specification of the model. The
#' 'ShinyStan' app provides interactive plots and tables helpful for analyzing a
#' ShinyStan app provides interactive plots and tables helpful for analyzing a
#' posterior sample, with particular attention to identifying potential problems
#' with the performance of the MCMC algorithm or the specification of the model.
#' 'ShinyStan' is powered by the 'Shiny' web application framework by 'RStudio'
#' and works with the output of MCMC programs written in any programming
#' language (and has extended functionality for models fit using the \pkg{rstan}
#' package and the No-U-Turn sampler).
#' ShinyStan is powered by the Shiny web application framework by RStudio
#' (\url{http://shiny.rstudio.com/}) and works with the output of MCMC programs
#' written in any programming language (and has extended functionality for
#' models fit using the \pkg{rstan} package and the No-U-Turn sampler).
#'
#' @section 'ShinyStan' has extended functionality for 'Stan' models:
#' @section ShinyStan has extended functionality for Stan models:
#'
#' 'Stan' (\url{http://mc-stan.org}) models can be run in \R using the
#' \pkg{\link[rstan]{rstan}} and \pkg{\link[rstanarm]{rstanarm}} packages.
#' Stan (\url{http://mc-stan.org}) models can be run in \R using the
#' \pkg{\link[rstan]{rstan}} package. Other packages like
#' \pkg{\link[rstanarm]{rstanarm}} and \pkg{\link[brms]{brms}} provide
#' higher-level interfaces to Stan that use \pkg{rstan} internally.
#'
#' @section Saving and sharing:
#'
Expand All @@ -52,7 +54,7 @@
#' publication.
#'
#' The \code{\link{deploy_shinystan}} function lets you easily deploy your own
#' 'ShinyStan' apps online for any of your models using the shinyapps.io
#' ShinyStan apps online for any of your models using the shinyapps.io
#' service from 'RStudio'. Each of your apps (each of your models) will have a
#' unique url and will be compatible with most web browsers.
#'
Expand All @@ -66,15 +68,20 @@
#' Check out the demo using \code{\link{launch_shinystan_demo}} or try it with
#' one of your own models using \code{\link{launch_shinystan}}.
#'
#' @section Help and bug reports:
#' @section Resources:
#' \itemize{
#' \item 'Stan' forums (\url{http://discourse.mc-stan.org})
#' \item 'ShinyStan' issue tracker (\url{https://github.com/stan-dev/shinystan/issues})
#' \item Web page with online documentation
#' (\url{http://mc-stan.org/shinystan})
#' \item Stan Forums on Discourse (\url{http://discourse.mc-stan.org})
#' \item GitHub issue tracker (\url{https://github.com/stan-dev/shinystan/issues})
#' }
#'
#' @template seealso-as.shinystan
#' @template seealso-demo
#' @template seealso-launch
#'
#' @template reference-muth
#' @template reference-bayesvis
#'
#' @import ggplot2
#' @import methods
Expand Down
4 changes: 4 additions & 0 deletions man-roxygen/reference-bayesvis.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#' @references Gabry, J., Simpson, D., Vehtari, A., Betancourt, M., and Gelman,
#' A. (2018). Visualization in Bayesian workflow. \emph{Journal of the Royal
#' Statistical Society Series A}, accepted for publication. arXiv preprint:
#' \url{http://arxiv.org/abs/1709.01449}.
5 changes: 5 additions & 0 deletions man-roxygen/reference-muth.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#' @references
#' Muth, C., Oravecz, Z., and Gabry, J. (2018)
#' User-friendly Bayesian regression modeling: A tutorial with rstanarm and shinystan.
#' \emph{The Quantitative Methods for Psychology}. 14(2), 99--119.
#' \url{https://www.tqmp.org/RegularArticles/vol14-2/p099/p099.pdf}
11 changes: 11 additions & 0 deletions man/launch_shinystan.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions man/shinystan-class.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

51 changes: 33 additions & 18 deletions man/shinystan-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2182c75

Please sign in to comment.