write_model: Write a ready-to-compile Stan file to disk

Description Usage Arguments Value

Description

Write a ready-to-compile Stan file to disk

Usage

1

Arguments

spec

An object returned by either specify or hmm.

noLogLike

A logical stating whether the log-likelihood should be excluded from the program. If TRUE, the Stan code will draw samples from the prior predictive density. If FALSE, the Stan code will draw samples from the posterior predictive density.

writeDir

A character string with the path where the Stan file should be written. Useful to inspect and modify the Stan code manually.

Value

A character string with the path to the filename.


luisdamiano/BayesHMM documentation built on May 20, 2019, 2:59 p.m.