get_rates | R Documentation |
Wrapper to apply single_id_rate to all individuals in a network and calculate the mean number of days individuals took to leave their respective home states and the mean number of days individuals took to return to their respective home states.
get_rates(sched, sim)
sched |
a schedule object for a network from simulate_schedule() |
sim |
the simulator used to generate the schedule |
obj <- simulate_schedule(n_animals = 10, n_groups = 2, time_to_leave = 5, time_to_return = 2, travel_time = c(0.001, 0.2), sampling_duration = 30, simulator = "independent") get_rates(sched = obj, sim = "independent")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.