Generate the Stan code corresponding to the model, which is read by Stan to do sampling.
make_stancode(PSobject, filename = NULL, debug = FALSE)
A string, which can be printed on screen using cat
.
an object of class PSobject
(optional) string. If not NULL
, the stan file will be saved via
cat
in a text file named after the string supplied.
only for testing in development mode. Will be removed in future release.