Resampling stochastic simulator for a single density-independent population.
PopSim(Rs, N0, years = 50, sims = 10)
vector of observed annual growth rates (N[t+1]/N[t]).
initial population size.
number of years to simulate.
number of simulated populations.
Designed to simulate trajectories based on resampled observed N[t+1]/N[t].
Returns a matrix of population sizes for time = t (rows) for each replicated population (columns).
Stevens, M.H.H. (2009) A Primer of Ecology with R. Use R! Series. Springer.
1 2 3 4
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.