Skip to contents

Rebuilds 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.

Usage

opal_report(x)

Arguments

x

An opal_obj.

Value

The named model report at the stored parameters.

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