Skip to contents

Replays the public long- or wide-format call saved for a temporal_latent() fit. Private pair identifiers are rebuilt from the supplied data and are never reused as public input. Ordinary fits without a prior table do not store a public call, so update() refuses them rather than forwarding to stats::update.default(). A prior-table fit retains its original control object and replays the exact prior rows when updated.

Usage

# S3 method for class 'gllvmTMB_multi'
update(object, ..., evaluate = TRUE)

Arguments

object

A fitted gllvmTMB_multi temporal model or a prior-table fit.

...

Named arguments to replace in the saved public call.

evaluate

Whether to evaluate the reconstructed call.

Value

The refitted model, or the reconstructed call if evaluate = FALSE.