This class extends the general StanModel class to comprise the longitudinal
model specification.
Usage
LongitudinalModel(
stan = StanModule(),
parameters = ParameterList(),
name = "<Unnamed>",
scaled_variance = NA,
...
)Arguments
- stan
(
StanModule) code containing the Stan code specification.- parameters
(
ParameterList) the parameter specification.- name
(
character) display name for the model object.- scaled_variance
(
flag) whether the variance should be scaled by the expected value, corresponding to a multiplicative model. If not, then an additive error model is used.- ...
additional arguments for
StanModel().
