File: shinystan-class.Rd

package info (click to toggle)
r-cran-shinystan 2.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 3,172 kB
  • sloc: sh: 15; makefile: 7
file content (61 lines) | stat: -rw-r--r-- 2,012 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/shinystan-objects.R
\docType{class}
\name{shinystan-class}
\alias{shinystan-class}
\alias{shinystan}
\title{S4 \code{shinystan} objects}
\description{
See \code{\link{as.shinystan}} for documentation on creating 
  \code{shinystan} objects and \code{\link{eight_schools}} for an example
  object.
}
\section{Slots}{

\describe{
\item{\code{model_name}}{(\code{"character"}) Model name.}

\item{\code{param_names}}{(\code{"character"}) Parameter names.}

\item{\code{param_dims}}{(\code{"list"}) Parameter dimensions.}

\item{\code{posterior_sample}}{(\code{"array"}) MCMC sample.}

\item{\code{summary}}{(\code{"matrix"}) Summary stats for \code{posterior_sample}.}

\item{\code{sampler_params}}{(\code{"list"}) Sampler parameters (for certain Stan
models only).}

\item{\code{n_chain}}{(\code{"integer"}) Number of chains.}

\item{\code{n_iter}}{(\code{"integer"}) Number of iterations per chain.}

\item{\code{n_warmup}}{(\code{"integer"}) Number of warmup iterations per chain.}

\item{\code{user_model_info}}{(\code{"character"}) Notes to display on the
\strong{Notepad} page in the 'ShinyStan' GUI.}

\item{\code{model_code}}{(\code{"character"}) Model code to display on the
\strong{Model Code} page in the 'ShinyStan' GUI.}

\item{\code{misc}}{(\code{"list"}) Miscellaneous, for internal use.}
}}

\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}
}
\seealso{
\code{\link{as.shinystan}} for creating \code{shinystan} objects.

\code{\link{drop_parameters}} to remove parameters from a
  \code{shinystan} object.

\code{\link{generate_quantity}} to add a new quantity to a
  \code{shinystan} object.

\code{\link{shinystan-metadata}} to view or change metadata
  associated with a \code{shinystan} object.
}