Description Usage Arguments Value Source Examples
View source: R/prey_survival_simulation.R
creates a dataframe of prey fish at a given mean size
1 2 3 4 5 6 | prey_fish_lengths(
number_of_fish,
mean_length = 14,
sd_length = (1.7/14) * mean_length,
precision = 1
)
|
number_of_fish |
number (pos integer) of prey fish desired |
mean_length |
mean length of fish in cm; default is 14 |
sd_length |
std dev of fish length in cm; default is 1.7 and scales with mean |
precision |
integer for level of precision for length (e.g., to the 10's or 100's place) |
dataframe of fish, each with a unique number and length
defaults based on Steel et al. 2020. "Applying the mean free-path length model to juvenile Chinook salmon migrating in the Sacramento River, California"
1 | prey_fish_lengths(number_of_fish = 100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.