/codependent

👯 ☕ where you lead, i will follow ☕ 👯

Primary LanguageR

The codependent package 🐝 🌼

An R package for estimating affiliate species richness based on power law scaling with host diversity, using rarefaction on bipartite species association networks. Because some things just go together.

Use the function copredict to extrapolate power law curves out to a higher value. Use copredict.ci to fit a series of models to only half of the total curve, and see what happens (for an overestimated confidence bound).

Author

Colin J. Carlson (ccarlson@sesync.org)

Installing the package

Install directly from Github:

# If you don't have devtools:
# install.packages("devtools")
devtools::install_github("cjcarlson/codependent")

Load the package

library(codependent)

Test out the functionality:

data(rob1929)
head(rob1929)
binera(rob1929,10,plots=TRUE)