make_eggs_per_female: Simulate eggs per female

View source: R/make_eggs_per_female.R

make_eggs_per_femaleR Documentation

Simulate eggs per female

Description

Simulate number of eggs per adult female based on data collected at the US Fish and Wildlife Service Craig Brook National Fish Hatchery.

Usage

make_eggs_per_female(n = 1, a = 4000, b = 12000, mean = NULL, sd = NULL)

Arguments

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 life_stage_survival dataset.

sd

Standard deviation of distribution. When 'mean = NULL' (default), the mean value is parameterized from the built-in life_stage_survival dataset.

Value

A vector of length 'n'

References

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.

Examples

# 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)


danStich/dia documentation built on Jan. 25, 2025, 4:27 a.m.