View source: R/seed_pilfer_simulator.R
seed_pilfer_simulator | R Documentation |
Simulate seed predation experiment from Bolker 2008, Ch 1.
seed_pilfer_simulator( n_simulations, n_stations, pilfer_rates, species_names = NULL )
n_simulations |
How many simulations to perform? |
n_stations |
Numeric (integer) vector. How many observations for each species? |
pilfer_rates |
Numeric vector. Pilfer rates for each species. Each rate must be between 1 and 0 inclusive. |
species_names |
Optional character vector of species names. |
A data.frame object with the results of the simlations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.