Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin J. Carlson authored Jun 4, 2019
1 parent 9104814 commit 2335458
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,31 @@ Install directly from Github:
devtools::install_github("cjcarlson/codependent")
```

What can you do with codependent?
----------------------

Load the package

``` {r dataset, message=FALSE}
library(codependent)
```

Test out the functionality:

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

``` {r dataset, message=FALSE}
data(rob1929)
head(rob1929)
binera(rob1929,10,plots=TRUE)
binera(rob1929, iter=10, plots=TRUE)
```

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



Coextinction curves in the style of Koh _et al._, 2004


``` {r dataset, message=FALSE}
coextinct(rob1929, iter=10, plots=TRUE)
```

0 comments on commit 2335458

Please sign in to comment.