
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 used opal 0.1.4; the current version is 0.1.5.
head(opal_report(assessment)$spawning_biomass_y)
#> [1] 4029.266 3939.676 3803.894 3690.689 3623.466 3581.014