Skip to contents

Plot initial numbers-at-age.

Usage

plot_initial_numbers(
  fit = NULL,
  object = NULL,
  posterior = NULL,
  probs = c(0.025, 0.975),
  color = "#00BFC4",
  data = NULL
)

Arguments

fit

An sbt_fit object. This plot displays point estimates.

object

Legacy RTMB objective used only with a legacy data-list input.

posterior

Deprecated and ignored. Initial-number posterior extraction is not implemented because the full number_ysa report is too large to materialize for this diagnostic plot.

probs

Deprecated and ignored.

color

Color used for the maximum-likelihood line and points.

data

Legacy named alias for a model data list; supply object as well.

Value

A ggplot2 object displaying initial numbers (in millions) by age.