genCommData: Generate Clustered/Overdispersed Data Based on Community...

Description Usage Arguments Details References

Description

Generate a community matrix based on a phylogeny with phylogenetic signal.

Usage

1
2
genCommData(tree, focal, psi = 1, mean.incid, mean.abun = FALSE,
  nsites = 1)

Arguments

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

Details

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.

References

No references yet! https://github.com/DomBennett/MoreTreeTools.


DomBennett/MoreTreeTools documentation built on May 6, 2019, 2:51 p.m.