Tools to estimate tongue length, foraging distance and body weight form bees intertegular distances (IT).
How to use it?
You have to install the package from GitHub. Thats easy:
install.packages("devtools") require(devtools) install_github('ibartomeus/BeeIT') 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