View source: R/Source_Parameters_and_Simulation.R
InvasionSimulation | R Documentation |
Runs an invasion simulation where the time to conversion and final average value of the trait is returned. [numInvader] invaders have their [trait] changed to [invaderStat] and their age reset to 1 time step [when]. Simulation ends when invaders are expelled, take over, or P$nSim time steps have passed.
InvasionSimulation(P, numInvader, trait, stat, when)
P |
a list of parameters |
numInvader |
the number of invaders to add |
trait |
the stat to change: LrnThsh, Acc, ChanceInv, or ChanceFor |
when |
the time step at which to introduce the invaders |
invaderStat |
the stat to change: LrnThsh, Acc, ChanceInv, or ChanceFor |
Other Sim Functions: BasicSimulation
,
CheckInsultPs
, CheckInvasion
,
GetSaveInfo
,
InsultSimulation
,
LightSimulation
,
SEMSimulation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.