# Population Simulator

### Description

Resampling stochastic simulator for a single density-independent population.

### Usage

1 | ```
PopSim(Rs, N0, years = 50, sims = 10)
``` |

### Arguments

`Rs` |
vector of observed annual growth rates (N[t+1]/N[t]). |

`N0` |
initial population size. |

`years` |
number of years to simulate. |

`sims` |
number of simulated populations. |

### Details

Designed to simulate trajectories based on resampled observed N[t+1]/N[t].

### Value

Returns a matrix of population sizes for time = t (rows) for each replicated population (columns).

### References

Stevens, M.H.H. (2009) *A Primer of Ecology with R*. Use R! Series. Springer.

### See Also

`sparrows`

### Examples

1 2 3 4 |

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.