Skip to content

Commit 1f27c53

Browse files
committed
rstanarm-package.R: add stan logo
1 parent e6beb46 commit 1f27c53

File tree

2 files changed

+29
-23
lines changed

2 files changed

+29
-23
lines changed

R/rstanarm-package.R

Lines changed: 29 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -33,29 +33,35 @@
3333
#' @export loo waic compare
3434
#' @export launch_shinystan
3535
#'
36-
#' @description An appendage to the \pkg{rstan} package that enables some of the
37-
#' most common applied regression models to be estimated using Markov Chain
38-
#' Monte Carlo, variational approximations to the posterior distribution, or
39-
#' optimization. The \pkg{rstanarm} package allows these models to be
40-
#' specified using the customary R modeling syntax (e.g., like that of
41-
#' \code{\link[stats]{glm}} with a \code{formula} and a \code{data.frame}).
42-
#'
43-
#' The set of models supported by \pkg{rstanarm} is large (and will continue
44-
#' to grow), but also limited enough so that it is possible to integrate them
45-
#' tightly with the \code{\link{pp_check}} function for graphical posterior
46-
#' predictive checks and the \code{\link{posterior_predict}} function to
47-
#' easily estimate the effect of specific manipulations of predictor variables
48-
#' or to predict the outcome in a training set.
49-
#'
50-
#' The objects returned by the \pkg{rstanarm} modeling functions are called
51-
#' \code{\link[=stanreg-objects]{stanreg}} objects. In addition to all of the
52-
#' typical \code{\link[=stanreg-methods]{methods}} defined for fitted model
53-
#' objects, stanreg objects can be passed to the \code{\link[loo]{loo}}
54-
#' function in the \pkg{loo} package for model comparison or to the
55-
#' \code{\link[shinystan]{launch_shinystan}} function in the \pkg{shinystan}
56-
#' package in order to visualize the posterior distribution using the
57-
#' ShinyStan graphical user interface. See the \pkg{rstanarm} vignettes for
58-
#' more details about the entire process.
36+
#' @description
37+
#' \if{html}{
38+
#' \figure{stanlogo.png}{options: width="50px" alt="mc-stan.org"}
39+
#' \emph{Stan Development Team}
40+
#' }
41+
#'
42+
#' An appendage to the \pkg{rstan} package that enables some of the most common
43+
#' applied regression models to be estimated using Markov Chain Monte Carlo,
44+
#' variational approximations to the posterior distribution, or optimization.
45+
#' The \pkg{rstanarm} package allows these models to be specified using the
46+
#' customary R modeling syntax (e.g., like that of \code{\link[stats]{glm}} with
47+
#' a \code{formula} and a \code{data.frame}).
48+
#'
49+
#' The set of models supported by \pkg{rstanarm} is large (and will continue to
50+
#' grow), but also limited enough so that it is possible to integrate them
51+
#' tightly with the \code{\link{pp_check}} function for graphical posterior
52+
#' predictive checks and the \code{\link{posterior_predict}} function to easily
53+
#' estimate the effect of specific manipulations of predictor variables or to
54+
#' predict the outcome in a training set.
55+
#'
56+
#' The objects returned by the \pkg{rstanarm} modeling functions are called
57+
#' \code{\link[=stanreg-objects]{stanreg}} objects. In addition to all of the
58+
#' typical \code{\link[=stanreg-methods]{methods}} defined for fitted model
59+
#' objects, stanreg objects can be passed to the \code{\link[loo]{loo}} function
60+
#' in the \pkg{loo} package for model comparison or to the
61+
#' \code{\link[shinystan]{launch_shinystan}} function in the \pkg{shinystan}
62+
#' package in order to visualize the posterior distribution using the ShinyStan
63+
#' graphical user interface. See the \pkg{rstanarm} vignettes for more details
64+
#' about the entire process.
5965
#'
6066
#' @section Estimation algorithms:
6167
#' The modeling functions in the \pkg{rstanarm} package take an \code{algorithm}

man/figures/stanlogo.png

11.5 KB
Loading

0 commit comments

Comments
 (0)