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