Skip to contents

Predicts population change (%) from survival and recruitment fit objects. Population change is the cumulative product of population growth rate (i.e., output of bb_predict_growth())

Usage

bb_predict_population_change_samples(
  survival,
  recruitment,
  sex_ratio = deprecated()
)

Arguments

survival

An object of class 'bboufit_survival' (output of bb_fit_survival()).

recruitment

An object of class 'bboufit_recruitment' (output of bb_fit_recruitment())

sex_ratio

A number between 0 and 1 of the proportion of females at birth. Deprecated for bb_fit_recruitment(sex_ratio). [Deprecated]

Value

A list with elements:

  • samples: An mcmcarray with the MCMC samples.

  • data: A data.frame containing the associated prediction data.