Tools to estimate tongue length, foraging distance and body weight form bees intertegular distances (IT).
You have to install the package from GitHub. Thats easy:
install.packages("devtools") require(devtools) install_github("BeeIT", "ibartomeus") library(BeeIT)
Once the package is loaded, its use is pretty simple, it require a vector of intertegular distances (IT) and bee families.
#dummy dataset its <- rnorm(100, 10, 2) families <- rep(c("Andrenidae", "Apidae", "Colletidae", "Halictidae", "Megachilidae"),20) Out <- ITconverter(IT = its, family = families) plot(Out$tongue_length.tongue ~ Out$body_mass)
You can ask for help
?ITconverter ?ITtongue ?ITforaging ?ITweigth
Or access the data used to fit the equation:
data(tongues) head(tongues) ?tongues
And cite our paper if you use it:
Or find the paper here: "Cariveau, Nayak, Bartomeus, Ascher, Winfree. 2015 The allometry of bee tongue length an its uses in ecology and evolution" http://journals.plos.org/plosone/article?id=10.1371/journal.pone.0151482
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.