CheckInvasion: Check Invasion

View source: R/Source_Parameters_and_Simulation.R

CheckInvasionR Documentation

Check Invasion

Description

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]..

Usage

CheckInvasion(P, trait, stat)

Arguments

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

See Also

Other Sim Functions: BasicSimulation, CheckInsultPs, GetSaveInfo, InsultSimulation, InvasionSimulation, LightSimulation, SEMSimulation


NeuroBio/SEM_R_Package documentation built on April 24, 2022, 5:54 p.m.