Skip to content
πŸ‘― β˜• Where you lead, I will follow β˜• πŸ‘―
R
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.Rproj.user/EF6DD8CB
R
data
man
.Rbuildignore
.Rhistory
.gitattributes
.gitignore
DESCRIPTION
NAMESPACE
README.html
README.md
codependent.Rproj

README.md

🐝 codependent 🌼

An R package for network-based estimation of affiliate species richness

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 (cjc322@georgetown.edu)

Contributions by Tad Dallas (LSU) and Laura Ward Alexander (UC Berkeley)

Installing the package

Install directly from Github:

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

What can you do with codependent?

Load the package

library(codependent)

You can build and fit nested curves using binera, for bipartite network rarefaction:

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

You can EXTRAPOLATE to a higher number of hosts using copredict:

copredict(rob1929, n.indep=500, iter=10, plot=TRUE)

Multigroup extrapolation is coming soon!

Coextinction curves

Coextinction curves in the style of Koh et al., 2004 are done with coextinct:

coextinct(rob1929, iter=10, plots=TRUE)

I'll be adding new functionality for that part of the package soon.

You can’t perform that action at this time.