Print the result of the model in a human friendly format.

# S3 method for stanfit
print(x, posteriorInterval = c(0.025, 0.25, 0.5, 0.75,
  0.975), observation = TRUE, initial = TRUE, transition = TRUE,
  fixed = TRUE, diagnostics = TRUE, print = TRUE, ...)

Arguments

x

An object returned by either fit or draw_samples.

posteriorInterval

An optional numeric vector with the quantilies of the posterior marginal distributions.

observation

An optional logical indicating whether the observation model should be included in the description. It defaults to TRUE.

initial

An optional logical indicating whether the initial distribution model should be included in the description. It defaults to TRUE.

transition

An optional logical indicating whether the transition model should be included in the description. It defaults to TRUE.

fixed

An optional logical indicating whether the fixed parameters should be included in the description. It defaults to TRUE.

diagnostics

An optional logical indicating whether convergence diagnostics should be included in the description. It defaults to TRUE.

print

An optional logical indicating whether the description should be printed out.

...

Further arguments passed to cat.

Value

A character string with the model description.