simulate_groups: Internal to simulate_non_independence

View source: R/simulate_groups.R

simulate_groupsR Documentation

Internal to simulate_non_independence

Description

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

Usage

simulate_groups(
  animals_home,
  n_groups,
  time_to_leave,
  time_to_return,
  travel_time = c(0.001, 2),
  sampling_duration = 7
)

Arguments

animals_home

an integer value representing an individuals home or preferred patch

n_groups

the number of social groups and/or distinct patches in the population

time_to_leave

the average number of days spent at home prior to leaving

time_to_return

the average number of days spent away from home prior to returning

travel_time

a list of two values in terms of days. These are the limits for draws from a uniform distribution governing how long it will take to get from one group to another.

sampling_duration

the number of days to simulate.


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