write_output: Write simulation results

View source: R/write_output.R

write_outputR Documentation

Write simulation results

Description

Internal function used to collect and return all model inputs and relevant model outputs (e.g., population size) from all years t.

For internal use in sim_pop. Not intended to be called directly.

Usage

write_output(.sim_pop, sex_specific = FALSE)

Arguments

.sim_pop

A hidden environment in the calling frame of sim_pop. Arbitrarily any named object with names matching those used in the function.

sex_specific

Logical inherited from sim_pop indicating whether to use sex-specific output.

Value

A list of results.


danStich/anadrofish documentation built on Jan. 17, 2025, 9:46 a.m.