rand_route | R Documentation |
Randomly select route for a fish through a project from a multinomial distribution based on routing probabilities.
rand_route(fish_num, route_names, route_probs)
fish_num |
Number of fish in the simulation |
route_names |
Vector of route names through a project |
route_probs |
Vector of probabilities that fish enters each route; should sum to one. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.