Description Usage Arguments Value
View source: R/run_simulation.R
Run a number of simulations with fixed parameters
1 2 3 |
nsim |
Number of replicate simulations to run |
nspp |
Number of taxa to simulate. |
nsite |
Number of sites (equal for all taxa) |
min.K |
Numeric Force minimum phylogenetic signal (Blomberg's K) for simulated intercepts and slopes? |
delta |
'adapt_delta' parameter for brm |
run.pglmm |
Logical. Run PGLMM? (default is TRUE). |
force.run |
Logical. If FALSE (the default) simulations will NOT be run if there is a simulation output file available with same parameters (nspp, nsite). If TRUE, simulations will run and the file will be overwritten. |
out.dir |
Path to folder where to simulations will be saved (in RDS format). |
A data.frame with nrow = nspp*nsim
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.