Skip to content

Commit

Permalink
README.md: rdiversity must be loaded into R before it will work.
Browse files Browse the repository at this point in the history
  • Loading branch information
soniamitchell committed Nov 29, 2016
1 parent 2043391 commit 669a266
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Expand Up @@ -23,6 +23,9 @@ devtools::install_github("boydorr/rdiversity")
Before calculating diversity a `metacommunity` object must be created. This object contains all the information needed to calculate diversity.

```r
# Load the package into R
library(rdiversity)

# Example population
pop <- data.frame(a=c(1,1,0),b=c(2,0,0),c=c(3,1,0))

Expand Down

0 comments on commit 669a266

Please sign in to comment.