View source: R/point_patterns_simulated_communities.R
Function that simulates a "centered" community The simulation proceeds in 2 steps: 1. Genreate set of 'mother points' from the bivariate normal, with a given var.intersp. 2. Treat each 'mother point' as a centre of a cluster of points of a given species, with var.consp as the "spread" of the cluster.
1 | sim.comm.centered(abund.vect, var.consp, var.intersp)
|
abund.vect |
vector of (integer) abundances of species in a community |
var.consp |
conspecific variance, i.e. spread of points in a single species |
var.intersp |
interspecific variance, i.e. spread of the mother points |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.