Species: Creates a new species

Description Usage Arguments Details WARNING

Description

Currently, every simulation contains a single species that must be created using this function.

Usage

1
2
3
Species(landscape, birth.rate = 1, death.rate = 0.1, incl.birth = 5,
  incl.death = 0, radius = 5, matrix.death = 10, move.rate = 1,
  step = 1, visual.angle = base::pi/4)

Arguments

landscape

the Landscape in which this species lives

birth.rate

the intrinsic birth rate of the species

death.rate

the intrinsic death rate of the species

incl.birth

the slope in which the birth rate decreases with increasing density

incl.death

the slope in which the death rate increases with increasing density

radius

the perception radius of the species. Setting this to zero will turn off all the neighbor detection, so only use radius=0 if you really want exponential growth!

matrix.death

a constant multiplying the death rate in non-habitat patches (Currently unimplemented!)

move.rate

the intrinsic movement rate of the species

step

the length of the step for each movement

visual.angle

currently, controls how much the movement orientation changes between steps

Details

Use this class to set up new species. Currently, the individuals only interact with individuals of the same species (that is, multiple species on the same landscape are totally independent).

WARNING

Every time the function Species is called, a new species is created and pushed to the landscape's species list.


andrechalom/TWoLifR documentation built on May 12, 2019, 3:34 a.m.