swarmPUnif: Sample the swarm proportion - the proportion of workers that swarm
Description
Sample the swarm proportion - the proportion of workers that
swarm - used when p = NULL (see SimParamBee$swarmP).
This is just an example. You can provide your own functions that satisfy
your needs!
Usage
swarmPUnif(colony, n = 1, min = 0.4, max = 0.6)
Value
numeric, swarm proportion
Arguments
colony
Colony-class
n
integer, number of samples
min
numeric, lower limit for swarmPUnif
max
numeric, upper limit for swarmPUnif
Details
swarmPUnif samples from a uniform distribution between values
0.4 and 0.6 irrespective of colony strength.
The nWorkersFull default value used in this function is geared
towards a situation where we simulate ~100 workers per colony (down-scaled
simulation for efficiency). If you simulate more workers, you should change
the default accordingly.