Learn R Programming

SEHmodel (version 0.0.11)

simulateIndividuals: Wrapper function SimulateIndividuals

Description

This function simulates individuals as an Individuals object.

Will simulate nb individuals in receptors fields of a landscape.

Usage

simulateIndividuals(objectL, n = 200, mintime = 1, maxtime, dob, life_duration, toxic_threshold)

Arguments

objectL
A Landscape object
n
Number of individuals to simulate
mintime
Start simulation time
maxtime
End simulation time
dob
A vector for the Date Of Birth of each individual
life_duration
A vector for the life duration of each individual
toxic_threshold
A vector for the intern toxic threshold value leading to death for each individual

Value

A S4 Individuals object

Details

The Individuals object output includes for each individual the coordinates, the date of birth, the life duration and the intern toxic concentration.

See Also

loadIndividuals