
Report a configured or fitted Opal model
opal_report.RdRebuilds an isolated RTMB objective when needed and evaluates the report at the stored fitted point, or the configured point if the object is unfitted. This returns point predictions, not posterior summaries.
See also
Other assessment workflow:
opal_attach_fit(),
opal_attach_mcmc(),
opal_build(),
opal_check(),
opal_derived(),
opal_example_inputs(),
opal_fit(),
opal_from_fit(),
opal_io,
opal_mcmc(),
opal_obj(),
opal_posterior(),
opal_project(),
opal_update()
Examples
assessment <- opal_read(system.file("extdata", "opaka_quickstart_fit.rds",
package = "opal"))
#> Warning: The saved fit runtime identity differs because it was serialized under a different R version; verifying by rebuild.
#> Warning: The saved fit runtime identity differs because it was serialized under a different R version; verifying by rebuild.
#> Warning: The opal_model implementation checksum differs from the saved fit. The saved fit used opal 0.0.4; the current version is 0.1.1.
head(opal_report(assessment)$spawning_biomass_y)
#> Warning: The model implementation checksum differs from the saved object.
#> Warning: The model implementation checksum differs from the saved object.
#> [1] 4029.267 3939.677 3803.894 3690.690 3623.467 3581.016