tidy arrays of outputs from marlin::simmar
Usage
process_marlin(sim, steps_to_keep = NA, time_step = NA, keep_age = TRUE)
Arguments
- sim
the output from simmar
- steps_to_keep
which steps you'd like to keep
- time_step
the time step interval, as fractions of a year
- keep_age
TRUE keeps age structure, FALSE adds up across ages
Value
a tidy dataframe of population results
Examples
if (FALSE) { # \dontrun{
processed_marlin <- process_marlin(sim, steps_to_keep = 100, time_step = 0.25)
} # }