BMIMetrics | R Documentation |
To use this package, first read in your data, or use the example
data set with data(bugdata)
and check it using BMI
. Then, aggregate the data to
consistent taxonomic effort levels using aggregate.BMI
.
Next make the sample size consistent using sample
.
Any of the metric functions can be used on objects of class BMIagg
or
class BMIprc
. Metrics can be calculated using individual functions (see
help(package="BMImetrics")
), or using BMIall
.
data(bugdata)
bugdata <- BMI(bugdata)
bugdata.samp <- sample(bugdata)
bugdata.agg <- aggregate(bugdata.samp)
metrics <- BMIall(bugdata.agg)
View(metrics)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.