View source: R/Source_Parameters_and_Simulation.R
CheckInvasion | R Documentation |
Checks whether the noise for the [trait] was set to 0, and does so it not. Also ensures that [stat] is within the range for the [trait]..
CheckInvasion(P, trait, stat)
P |
a list of parameters |
trait |
the stat to change: LrnThsh, Acc, ChanceInv, or ChanceFor |
numInvader |
the number of invaders to add |
invaderStat |
the stat to change: LrnThsh, Acc, ChanceInv, or ChanceFor |
when |
the time step at which to introduce the insult |
freq |
how often to sample data from the simulation |
Other Sim Functions: BasicSimulation
,
CheckInsultPs
, GetSaveInfo
,
InsultSimulation
,
InvasionSimulation
,
LightSimulation
,
SEMSimulation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.