Description Usage Arguments Details References
Generate a community matrix based on a phylogeny with phylogenetic signal.
1 2 | genCommData(tree, focal, psi = 1, mean.incid, mean.abun = FALSE,
nsites = 1)
|
tree |
phylogenetic tree (ape class) |
focal |
numeric index, indicating which tip to perform cluster/dispersion |
psi |
scaling coefficient: larger the number the more pronounced the effect by a power law (hence 0 not allowed) |
mean.incid |
the mean incidence of species in the community |
mean.abun |
the mean abundance per site, if given output will be abundances |
nsites |
number of sites |
Abundances/incidences for a commuity are generated clustering around a focal
point in the phylogeny (clustering psi
> 0) or diserpsing around a focal point
(overdispersion psi
< 0). Return either incidence or abundance data.
No references yet! https://github.com/DomBennett/MoreTreeTools.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.