simProd | R Documentation |
Simulates a survey of breeding females, where a proportion of the females are included each year and the number of their offspring (male and female) recorded.
simProd(reprod, pInclude = 0.3, females.only = FALSE, verbose = TRUE)
reprod |
array with the reproductive performance of the population, usually the output from |
pInclude |
vector with the annual detection probabilities of broods; it can be scalar, used for all years. |
females.only |
if TRUE only the number of females that are produced is recorded. Default: total reproduction is recorded. |
verbose |
if TRUE, information is displayed in the console. |
A list with the following 2 components:
prod.ind |
matrix with the individual reproductive output. The three columns give the output, the year of the brood and the actual age of the mother. |
prod.agg |
matrix with the same data, but aggregated. The two columns give the year-specific total number of newborn and the year-specific number of surveyed broods. |
Michael Schaub
Schaub, M., Kéry, M. (2022) Integrated Population Models, Academic Press, section 5.5.1.
# Generate a population
pop <- simPop()
# Simulate productivity data
prod <- simProd(pop$reprod)
str(prod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.