simulate_independence: Internal to simulate_schedule

View source: R/simulate_independence.R

simulate_independenceR Documentation

Internal to simulate_schedule

Description

sim = "independent"

Usage

simulate_independence(
  n_animals,
  n_groups,
  time_to_leave,
  time_to_return,
  travel_time,
  sampling_duration
)

Arguments

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.