R Interface to Stan

As.mcmc.list | Create an mcmc.list from a stanfit object |

check_hmc_diagnostics | Check HMC diagnostics after sampling |

expose_stan_functions | Expose user-defined Stan functions to R for testing and... |

extract_sparse_parts | Extract the compressed representation of a sparse matrix |

lookup | Look up the Stan function that corresponds to a R function or... |

makeconf_path | Obtain the full path of file 'Makeconf' |

monitor | Compute summaries of MCMC draws and monitor convergence |

nlist | Created named lists |

plotting-functions | RStan Plotting Functions |

print.stanfit | Print a summary for a fitted model represented by a 'stanfit'... |

read_rdump | Read data in an R dump file to a list |

Rhat | Convergence and efficiency diagnostics for Markov Chains |

rstan | RStan - the R interface to Stan |

rstan-internal | Internal Functions and Methods |

rstan_options | Set and read options used in RStan |

rstan.package.skeleton | Create a Skeleton for a New Source Package with Stan Programs |

sbc | Simulation Based Calibration (sbc) |

set_cppo | Defunct function to set the compiler optimization level |

sflist2stanfit | Merge a list of stanfit objects into one |

stan | Fit a model with Stan |

stanc | Translate Stan model specification to C++ code |

stan_csv | Read CSV files of samples generated by (R)Stan into a... |

stan_demo | Demonstrate examples included in Stan |

stanfit2array-method | Create array, matrix, or data.frame objects from samples in a... |

stanfit-class | Class 'stanfit': fitted Stan model |

stanfit-method-extract | Extract samples from a fitted Stan model |

stanfit-method-logprob | 'log_prob' and 'grad_log_prob' functions |

stanfit-method-loo | Approximate leave-one-out cross-validation |

stanfit-method-loo-moment-match | Moment matching for efficient approximate leave-one-out... |

stanfit-method-pairs | Create a matrix of output plots from a 'stanfit' object |

stanfit-method-plot | Plots for stanfit objects |

stanfit-method-summary | Summary method for stanfit objects |

stanfit-method-traceplot | Markov chain traceplots |

stan_model | Construct a Stan model |

stanmodel-class | Class representing model compiled from C++ |

stanmodel-method-gqs | Draw samples of generated quantities from a Stan model |

stanmodel-method-optimizing | Obtain a point estimate by maximizing the joint posterior |

stanmodel-method-sampling | Draw samples from a Stan model |

stanmodel-method-vb | Run Stan's variational algorithm for approximate posterior... |

stan_plot | ggplot2 for RStan |

stan_plot_diagnostics | RStan Diagnostic plots |

stan_plot_options | Set default appearance options |

stan_rdump | Dump the data for a Stan model to R dump file in the limited... |

stan_version | Obtain the version of Stan |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.