Learn R Programming

briskaR (version 1.0.4)

simulateIndividuals: Wrapper function SimulateIndividuals

Description

This function simulates individuals as an Individuals object.

Will simulate n individuals in receptors fields of a landscape.

Usage

simulateIndividuals(
  sf,
  size = 100,
  timeline = 1:61,
  dob,
  life_duration,
  toxic_threshold
)

Arguments

sf

A sf object

size

Number of individuals to simulate

timeline

Vector of the time line

dob

A vector for the Date Of Birth of each individual between min and max of the timeline.

life_duration

A vector for the life duration of each individual

toxic_threshold

A vector for the internal toxic threshold value leading to death for each individual

Details

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