Learn R Programming

rstan (version 2.9.0-3)

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

Description

A stanmodel object represents the model compiled from C++ code. The sampling method defined in this class may be used to draw samples from the model and optimizing method is for obtaining a point estimate by maximizing the log-posterior.

Arguments

Objects from the Class

Instances of stanmodel are usually created by calling function stan_model or function stan.

See Also

stanc

Examples

Run this code
showClass("stanmodel")

Run the code above in your browser using DataLab