scalePop: Scale population to speed computations

View source: R/12-scalePop.R

scalePopR Documentation

Scale population to speed computations

Description

Internal function for rescaling components of the population based on scalar variable in setScalar.

Not intended to be called directly, but visible for transparency.

Usage

scalePop(pop, spawningPool, recruitmentPool, scalar)

Value

A list of vectors containing the 1) population size, 2) spawning pool, and 3) recruitment pool, all scaled according to rules in setScalar.


danStich/shadia documentation built on Nov. 2, 2023, 6:43 a.m.