write_chunks.Specification: Write Stan code chunks to disk

Description Usage Arguments Value

Description

Write Stan code chunks to disk

Usage

1
2
## S3 method for class 'Specification'
write_chunks(spec, noLogLike, writeDir)

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

Nothing.


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