j.occ | R Documentation |
i
and its standard deviationThis function computes joint occupancy (the average number of sites harbouring a given number of i
species
simultaneously), and its standard deviation.
j.occ(s.data, order, metric = "raw")
s.data |
A species-by-site presence/absence matrix with entries indicating occurrence (1) and non-occurrence (0) of species in a site. |
order |
Specific number of species for which joint occupancy and its standard deviation is computed. |
metric |
The type of rescaling applied to the joint occupancy metric. Available options are:
|
Returns a list
with the following outputs:
jo.val |
Joint occupancy value. |
jo.sd |
The standard deviation of |
Lagat, V. K., Latombe, G. and Hui, C. (2021a). A multi-species co-occurrence
index to avoid type II errors in null model testing. DOI: <To be added>
.
ex.data <- read.csv(system.file("extdata", "274.csv", package = "msco"))
jo <- msco::j.occ(ex.data, order = 3, metric = "raw")
jo
ex.data2 <- read.csv(system.file("extdata", "65.csv", package = "msco"))
jo2 <- msco::j.occ(ex.data2, order = 3, metric = "raw")
jo2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.