Description Usage Arguments Value Examples
View source: R/prey_survival_simulation.R
Calculates the number of grid cells each fish traverses in the environment. Assumes fish take the shortest path possible through the environment (i.e., in a straight line from left to right)
1 | calculate_path_length(transect_length = 1000, n_transects = 20, grid_size = 15)
|
transect_length |
length of each transect in meters; default is 1000 |
n_transects |
integer of transects in the model; default is 20 |
grid_size |
length of side of raster grid in meters; default is 15 |
integer value of cells traversed
1 2 | calculate_path_length(n_transects = 5)
calculate_path_length(n_transects = 20)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.