Description Usage Arguments Examples
This function takes certain parameters and returns an appropriate count-data matrix with a zero-inflated negative binomial distribution. The function takes into account a pre-specified correlation structure (exchangable or phylogenetic) and simulate data accordingly. Phylogenetic correlation structure also comes with tree and correlation extracted from the tree.
1 2 |
n.spec |
Number of taxa in the community |
corr.struc |
Correlation structure. Can be "ex" for exchangable or "phylo" for phylogenetic (comes with tree) |
n.samp |
Number of samples |
p |
Probability of zero |
rho |
If corr.struc = "ex", then a correlation parameter is required. |
phi |
Dispersion parameter. From real data, the values are between 0.001 and 0.02. |
mu |
Mean parameter. From real data, the values are between 5 and 35. |
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.