simulate_groups2: Internal to simulate_non_independence2

View source: R/simulate_groups2.R

simulate_groups2R Documentation

Internal to simulate_non_independence2

Description

Simulates group movements within which individual movement decisions are later generated.

Usage

simulate_groups2(
  animals_home,
  n_groups,
  n_splits,
  time_to_leave,
  time_to_return,
  travel_time = c(0.001, 0.001),
  sampling_duration
)

Arguments

n_groups

The number of modules in the network.

n_splits

the number of splinter groups that leave home, one or more

time_to_leave

The average days spent within the home group prior to leaving.

time_to_return

The average days spent abroad before returning to home group.

travel_time

Vector of the range of values that travel to the next group can take, drawn from a uniform distribution.

sampling_duration

The number of days to simulate.


gavincotterill/modulr documentation built on Nov. 30, 2022, 11:15 p.m.