| occurrence | R Documentation |
Co-Occurrence
occurrence(object, ...)
## S4 method for signature 'matrix'
occurrence(object, method = c("absolute", "relative", "binomial"))
## S4 method for signature 'data.frame'
occurrence(object, method = c("absolute", "relative", "binomial"))
object |
A |
... |
Currently not used. |
method |
A |
absoluteCount how many times each pairs of types occur together in at least one sample (absolute frequencies).
relativeCount how many times each pairs of types occur together in at least one sample (relative frequencies).
binomialBinomial co-occurrence assessment.
A stats::dist object.
N. Frerebeau
Other diversity measures:
heterogeneity(),
plot_diversity,
plot_rarefaction,
profiles(),
rarefaction(),
richness(),
she(),
similarity(),
simulate(),
turnover()
## Data from Conkey 1980, Kintigh 1989
data("cantabria")
## Plot spot diagram of a co-occurrence matrix
occ_abs <- occurrence(cantabria, method = "absolute") # Absolute frequencies
plot_spot(occ_abs)
occ_rel <- occurrence(cantabria, method = "relative") # Relative frequencies
plot_spot(occ_rel)
## Binomial co-occurrence (similarity between types)
occ_bin <- occurrence(cantabria, method = "binomial")
plot_spot(occ_bin)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.