R/project.R
project.Rd
Function to project SRKW population in the future using individual based models
project(
whale_data,
seed = 123,
n_years = 30,
scenarios = c("1981:2020"),
n_iter = 200,
verbose = FALSE,
p_female = NA,
n_births = NA
)
the expanded data frame, returned by expand()
the random seed used to initialize simulations, defaults to 123
the length of the time series projections, defaults to 30 time steps
a character string, or vector of strings describing which scenario to be run. Should be entered as a range of years separated by a colon, e.g. "1981:1985" to use rates from 1981 to 1985 or ("1981:1985","1981:2021")
the number of iterations per scenario, defaults to 200
whether to print status updates to screen, defaults to FALSE
The probability of a female birth, defaults to the empirical value since 1980
The number of births used to calculate p_female
. By default, this defaults to the empirical
value observed since 1980 the probability of female birth. Larger values result in more precise estimates of p_female