R Interface to Stan


[Up] [Top]

Documentation for package ‘rstan’ version 2.15.1

Help Pages

rstan-package RStan - R interface to Stan
as.array.stanfit Create array, matrix, or data.frame objects from samples in a 'stanfit' object
as.data.frame.stanfit Create array, matrix, or data.frame objects from samples in a 'stanfit' object
as.matrix.stanfit Create array, matrix, or data.frame objects from samples in a 'stanfit' object
As.mcmc.list Create an mcmc.list from a stanfit object
constrain_pars Model's 'log_prob' and 'grad_log_prob' functions
constrain_pars-method Model's 'log_prob' and 'grad_log_prob' functions
dim.stanfit Create array, matrix, or data.frame objects from samples in a 'stanfit' object
dimnames.stanfit Create array, matrix, or data.frame objects from samples in a 'stanfit' object
expose_stan_functions Expose user-defined Stan functions to R for testing and simulation
extract Extract samples from a fitted Stan model
extract-method Extract samples from a fitted Stan model
extract_sparse_parts Extract the compressed representation of a sparse matrix
get_adaptation_info Class 'stanfit': fitted Stan model
get_adaptation_info-method Class 'stanfit': fitted Stan model
get_cppcode Class representing model compiled from C++
get_cppcode-method Class representing model compiled from C++
get_cppo_mode Class 'stanfit': fitted Stan model
get_cppo_mode-method Class 'stanfit': fitted Stan model
get_cxxflags Class representing model compiled from C++
get_cxxflags-method Class representing model compiled from C++
get_elapsed_time Class 'stanfit': fitted Stan model
get_elapsed_time-method Class 'stanfit': fitted Stan model
get_inits Class 'stanfit': fitted Stan model
get_inits-method Class 'stanfit': fitted Stan model
get_logposterior Class 'stanfit': fitted Stan model
get_logposterior-method Class 'stanfit': fitted Stan model
get_num_upars Model's 'log_prob' and 'grad_log_prob' functions
get_num_upars-method Model's 'log_prob' and 'grad_log_prob' functions
get_posterior_mean Class 'stanfit': fitted Stan model
get_posterior_mean-method Class 'stanfit': fitted Stan model
get_sampler_params Class 'stanfit': fitted Stan model
get_sampler_params-method Class 'stanfit': fitted Stan model
get_seed Class 'stanfit': fitted Stan model
get_seed-method Class 'stanfit': fitted Stan model
get_seeds Class 'stanfit': fitted Stan model
get_seeds-method Class 'stanfit': fitted Stan model
get_stancode Class 'stanfit': fitted Stan model
get_stancode-method Class 'stanfit': fitted Stan model
get_stanmodel Class 'stanfit': fitted Stan model
get_stanmodel-method Class 'stanfit': fitted Stan model
grad_log_prob Model's 'log_prob' and 'grad_log_prob' functions
grad_log_prob-method Model's 'log_prob' and 'grad_log_prob' functions
is.array.stanfit Create array, matrix, or data.frame objects from samples in a 'stanfit' object
log_prob Model's 'log_prob' and 'grad_log_prob' functions
log_prob-method Model's 'log_prob' and 'grad_log_prob' functions
lookup Look up the Stan function that corresponds to a R function or name.
makeconf_path Obtain the full path of file 'Makeconf'
monitor Compute summaries of MCMC draws and monitor convergence
names.stanfit Create array, matrix, or data.frame objects from samples in a 'stanfit' object
names<-.stanfit Create array, matrix, or data.frame objects from samples in a 'stanfit' object
optimizing Obtain a point estimate by maximizing the joint posterior
optimizing-method Obtain a point estimate by maximizing the joint posterior
pairs.stanfit Create a matrix of output plots from a 'stanfit' object
plot-method Plots for stanfit objects
print.stanfit Print a summary for a fitted model represented by a 'stanfit' object
quietgg ggplot2 for RStan
read_rdump Read data in an R dump file to a list
read_stan_csv Read CSV files of samples generated by (R)Stan into a 'stanfit' object
rstan RStan - R interface to Stan
rstan-plotting-functions RStan Plotting Functions
rstan.package.skeleton Create a Skeleton for a New Source Package with Stan Programs
rstan_ggtheme_options Set default appearance options
rstan_gg_options Set default appearance options
rstan_options Set and read options used in RStan
sampling Draw samples from a Stan model
sampling-method Draw samples from a Stan model
set_cppo Defunct function to set the compiler optimization level
sflist2stanfit Merge a list of stanfit objects into one
show-method Class 'stanfit': fitted Stan model
show-method Class representing model compiled from C++
stan Fit a model using Stan
stanc Translate Stan model specification to C++ code
stanc_builder Translate Stan model specification to C++ code
stanfit Class 'stanfit': fitted Stan model
stanfit-class Class 'stanfit': fitted Stan model
stanmodel-class Class representing model compiled from C++
stan_ac ggplot2 for RStan
stan_demo Demonstrate examples included in Stan
stan_dens ggplot2 for RStan
stan_diag RStan Diagnostic plots
stan_ess RStan Diagnostic plots
stan_hist ggplot2 for RStan
stan_mcse RStan Diagnostic plots
stan_model Construct a Stan model
stan_par RStan Diagnostic plots
stan_plot ggplot2 for RStan
stan_rdump Dump the data for a Stan model to R dump file in the limited format that Stan can read.
stan_rhat RStan Diagnostic plots
stan_scat ggplot2 for RStan
stan_trace ggplot2 for RStan
stan_version Obtain the version of Stan
summary-method Summary method for stanfit objects
traceplot Markov chain traceplots
traceplot-method Markov chain traceplots
unconstrain_pars Model's 'log_prob' and 'grad_log_prob' functions
unconstrain_pars-method Model's 'log_prob' and 'grad_log_prob' functions
vb Run Stan's variational algorithm for approximate posterior sampling
vb-method Run Stan's variational algorithm for approximate posterior sampling