occurrence {tabula} | R Documentation |
Co-Occurrence
Description
Co-Occurrence
Usage
occurrence(object, ...)
## S4 method for signature 'matrix'
occurrence(object)
## S4 method for signature 'data.frame'
occurrence(object)
Arguments
object |
A |
... |
Currently not used. |
Details
A co-occurrence matrix is a symmetric matrix with zeros on its main diagonal, which works out how many times each pairs of taxa/types occur together in at least one sample.
Value
A stats::dist object.
Author(s)
N. Frerebeau
See Also
Other diversity measures:
heterogeneity()
,
profiles()
,
rarefaction()
,
richness()
,
she()
,
similarity()
,
simulate()
,
turnover()
Examples
## Data from Conkey 1980, Kintigh 1989
data("cantabria")
## Plot spot diagram of a co-occurrence matrix
occ <- occurrence(cantabria)
plot_spot(occ)
[Package tabula version 3.1.0 Index]