Skip to contents

Main function that processes and validates all species parameters, calculating derived parameters and preparing them for simulation.

Usage

process_species_parameters(species_params, n_days = NULL)

Arguments

species_params

Raw species parameters from user

n_days

Integer. Number of simulation days, used to build the predator energy density vector when `ED_ini`/`ED_end` are supplied (PREDEDEQ = 1). If `NULL` the vector length is inferred later.

Value

List with all processed parameters ready for simulation