block_data.RegGaussian: Write the data block of the Stan code.

Description Usage Arguments Value

Description

Write the data block of the Stan code.

Usage

1
2
## S3 method for class 'RegGaussian'
block_data(x, noLogLike)

Arguments

x

A Density or a Specification object.

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.

Value

A character string with the Stan code.


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