View source: R/simulate_groups.R
simulate_groups | R Documentation |
Simulates group movements within which individual movement decisions are later generated.
simulate_groups( animals_home, n_groups, time_to_leave, time_to_return, travel_time = c(0.001, 2), sampling_duration = 7 )
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.