c_score_skew: CScoreSkew Co-occurrence Metric

Description Usage Arguments Details Value Note References See Also Examples

View source: R/metrics.R


Takes a binary presence-absence matrix and returns the skewness of the Stone and Roberts' (1990) C-score.


c_score_skew(m = matrix(rbinom(100, 1, 0.5), nrow = 10))



a binary presence-absence matrix in which rows are species and columns are sites.


A large positive value of skewness implies a preponderance of species pairs with large C-score values (segregated), whereas a large negative value of skewness implies a preponderance of species pairs with small C-score values (aggregated).


Returns the skewness of the C-score calculated across all possible species pairs in the matrix.


The matrix-wide C-score is not calculated for missing species, so empty rows in the matrix do not affect the result. This index has not been thoroughly tested with real data sets.


Stone, L. and A. Roberts. 1990. The checkerboard score and species distributions. Oecologia 85: 74-79.

Stone, L. and A. Roberts. 1992. Competitive exclusion, or species aggregation? An aid in deciding. Oecologia 91: 419-424.

See Also

c_score co-occurrence index.


skewCScore <- c_score_skew(m=matrix(rbinom(100,1,0.5),nrow=10))

EcoSimR documentation built on May 19, 2017, 7:40 p.m.

Search within the EcoSimR package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.