make_stancode {PStrata} | R Documentation |
Stan Code for PStrata Models
Description
Generate the Stan code corresponding to the model, which is read by Stan to do sampling.
Usage
make_stancode(PSobject, filename = NULL, debug = FALSE)
Arguments
PSobject |
an object of class |
filename |
(optional) string. If not |
debug |
only for testing in development mode. Will be removed in future release. |
Value
A string, which can be printed on screen using cat
.
[Package PStrata version 0.0.5 Index]