View source: R/make_eggs_per_female.R
make_eggs_per_female | R Documentation |
Simulate number of eggs per adult female based on data collected at the US Fish and Wildlife Service Craig Brook National Fish Hatchery.
make_eggs_per_female(n = 1, a = 4000, b = 12000, mean = NULL, sd = NULL)
n |
Number of samples |
a |
Lower limit of truncated normal |
b |
Upper limit of truncated normal |
mean |
Mean of distribution. When 'mean = NULL' (default), the mean
value is parameterized from the built-in |
sd |
Standard deviation of distribution. When 'mean = NULL' (default),
the mean value is parameterized from the built-in
|
A vector of length 'n'
Nieland JL, Sheehan TF. 2020. Quantifying the Effects of Dams on Atlantic Salmon in the Penobscot River Watershed, with a Focus on Weldon Dam. US Department of Commerce, Northeast Fisheries Science Center Reference Document 19-16, Woods Hole, MA.
# 1. Simulate a single value for eggs per female ----
make_eggs_per_female()
# 2. Simulate 10,000 values for eggs per female ----
make_eggs_per_female(n = 10000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.