Package 'pollimetry'

Title: Estimate Pollinator Body Size and Co-Varying Ecological Traits
Description: Tools to estimate pollinator body size and co-varying traits. This package contains novel Bayesian predictive models of pollinator body size (for bees and hoverflies) and bee foraging range, as well as preexisting predictive models for pollinator body size (currently implemented for ants, bees, butterflies, flies, moths and wasps), bee tongue length, foraging range, total field nectar loads and wing loading. An additional GitHub repository <https://github.com/liamkendall/pollimetrydata> provides model objects to use the bodysize and foraging.range functions internally. All models are described in Kendall et al. (2019) <doi:10.1002/ece3.4835> & Kendall et al. (2022) <doi:TBC>.
Authors: Liam Kendall [aut, cre], Ignasi Bartomeus [aut]
Maintainer: Liam Kendall <[email protected]>
License: GPL (>= 2)
Version: 1.1.0
Built: 2024-11-12 04:11:34 UTC
Source: https://github.com/liamkendall/pollimetry

Help Index


Converts the intertegular distance (ITD) and co-variates to body size in dry weight (mg) for bees or hoverflies.

Description

Calculates body size in dry weight (mg) from Kendall et al. (2018) using ITD (and co-variate) values.

Usage

bodysize(x, taxa, type)

Arguments

x

A data frame with columns containing 'ITD' values and Sex ('Male' or 'Female'). Optional attributes depending on model choice: Taxonomy ('Family' for bees or 'Subfamily for hoverflies), 'Region' (Currently only "NorthAmerica", "SouthAmerica", "Australasia" and "Europe" implemented) and 'Species' ("Genus_species" format). Non-implemented regions and/or species are acceptable. See details.

taxa

A vector specifying insect taxa of interest, can be either "bee" for bee models and "hov" for hoverfly models

type

A vector specifying model type to be used: for bees this can be either "taxo" for the full taxonomic model, "phy" for the full phylogenetic model, "sex" for the reduced sexual dimorphic model or "ITD" for the ITD-only model. In hoverflies: this can either be "taxo" for the full taxonomic model, "sex" for the reduced sexual dimorphic model or "ITD" for the ITD-only model.

Details

For bees, type option 'taxo' requires ITD, sex and taxonomic family. Type option 'phylo' only requires ITD and Sex to run but should be only be used for with Species (and Region) included in model formulation n.b. the function checks for contained species.

For hoverflies, type 'taxo' requires ITD, Subfamily and Sex for each specimen. Type "ITD" for both taxa only requires ITD values (Optional: region and species but check 'setdiff'). If specimens are from included regions or species (see above) we recommend including these as additional columns. Estimates (and variance components) are returned as four additional columns bound to the original dataframe. In the likely case that non-represented taxa and regions are included in inputted datasets, 'allow_new_levels' is set to true for all models. Estimates will then be modelled with group-level uncertainty in the predictions based on the variation of the existing levels. This function makes use of external model objects hosted on GitHub. In the case of slow loading, we recommend you download the pollimetrydata package from https://github.com/liamkendall/pollimetrydata.

Value

The original dataframe (x) along with additional columns of body size, and 90

References

  • Kendall et al. (2019) Pollinator size and its consequences: Robust estimates of body size in pollinating insects. Ecology and Evolution, 9(4), 1702-1714. doi:10.1002/ece3.4835.

Examples

ITD=c(1.3,2.3)
Sex=c("Female","Male")
Subfamily=c("Syrphinae","Eristalinae")
Region=c("Australasia","Europe")
Species=c("Sphaerophoria_macrogaster","Myathropa_florea")
example.data <- data.frame(ITD,Sex,Subfamily,Region,Species)
bodysize(x=example.data,taxa="hov",type="taxo")

Bee foraging range measurements for 101 bee species.

Description

A dataset containing measurements of foraging range (m), intertegular distance (mm), sociality and metadata for 101 bee species (425 estimates).

Usage

forage_dataset

Format

An object of class data.frame with 425 rows and 20 columns.

References

  • Kendall et al. (2022). Sociality and body size determine the potential and realized foraging ranges of bees. TBC.#'


(Deprecated) Converts body weight to measures of foraging range for bees.

Description

'r lifecycle::badge("deprecated")' This function is now deprecated and has been superceded by 'foraging.range'

Calculates foraging range from Greenleaf et al. (2007) using intertegular distance (ITD) values, van Nieuwstadt and Iraheta (1996) using head width (HW) values for Meliponini (stingless bees) and Guedot et al. (2009) using dry weight (mg) values for Osmia species.

Usage

foragedist(x, type = "GreenleafAll")

Arguments

x

A vector of either bee intertegular spans (IT) measurements in mm, head width values in mm or dry weight values (mg).

type

The type of foraging range desired. Options are "GreenleafAll", GrMhd ("Maximum homing distance"), GrThd ("Typical homing distance"), GrMfd ("Maximum feeder training distance"), GrMcd("Maximum communication distance"),"Osmia", "MeliMR" , "MeliFT" or "MeliAll". See details in Greenleaf et al. (2007), Guedot et al. (2009) and van Nieuwstadt and Iraheta (1996).

Value

A dataframe with bee and foraging range (km) is returned for each bee species.

References

  • Kendall et al. (2019) Pollinator size and its consequences: Robust estimates of body size in pollinating insects. Ecology and Evolution, 9(4), 1702-1714. doi:10.1002/ece3.4835.

  • Greenleaf et al. (2007) Bee foraging ranges and their relationship to body size. Oecologia, 153, 589-596. doi:10.1007/s00442-007-0752-9.

  • Guedot et al. (2009). Relationship between body size and homing ability in the genus Osmia (Hymenoptera; Megachilidae). Ecological Entomology, 34(1), 158-161. doi:10.1111/j.1365-2311.2008.01054.x.

  • van Nieuwstadt, M. G. L., & Iraheta, C. R. (1996). Relation between size and foraging range in stingless bees (Apidae, Meliponinae). Apidologie, 27(4), 219-228.

Examples

foragedist(c(10,5,2), type = "MeliMR")

Predict foraging range for bees using intertegular distance and degree of sociality

Description

Calculates realized (or potential) foraging range from Kendall et al. (2022) using intertegular distance (ITD) values and degree of sociality (highly eusocial, primitively eusocial or solitary).

Usage

foraging.range(
  data,
  model.type = "social",
  random.effects = "reduced",
  measure.type = "realized"
)

Arguments

data

A dataframe containing between two to four columns: bee intertegular distance (ITD) measurements in mm, species (Format: "Genus_species") and sociality (Format: "Highly Eusocial","Primitively Eusocial", "Solitary").

model.type

A string stating which model should be used: "social", for the model that includes sociality, body size (ITD) and measurement type, or "ITD", for the reduced model that only includes body size and measurement type.

random.effects

A sting stating if random effects are to be used using predictive purposes. Options are 1) phylogenetic effect and species effects "full", 2) only phylogenetic effect ("phylo"), or 3) fixed effects only ("reduced"). Default is "reduced".

measure.type

A string stating whether to return realized ("realized") or potential ("potential") estimates.

Value

A dataframe with bee foraging range (km) is returned for each bee species (row).

References

  • Kendall et al. (2022) The potential and realized foraging movements of bees are differentially determined by body size and sociality Ecology TBC.

Examples

ITD=c(2.9,2.9,2.9)
species=c("Apis_mellifera","Osmia_cornifrons","Bombus_bifarius")
sociality=c("Highly Eusocial","Solitary","Primitively Eusocial")
example.data <- data.frame(ITD,species,sociality)
foraging.range(example.data,random.effects = "full",measure.type = "realized")

Converts pollinator (Diptera, Hymenoptera and Lepidoptera) head width (mm) to body size (dry weight (mg)).

Description

Calculates dry body weight (mg) using head width (mm) from Hodar (1997).

Usage

headwidthsize(HW, Eq = "H97DB")

Arguments

HW

A vector of head width measurements (mm).

Eq

a vector of predictive allometries for insect taxa from Hodar (1997). Options implemented are: H97DB (Brachycera), H97DN (Nematocera), H97HA (Hymenoptera), H97LH (Heterocera) and H97LR (Rhopalocera).

Value

A dataframe with pollinator body size as dry weight (mg) is returned for each specimen from selected equation.

References

  • Kendall et al. (2019) Pollinator size and its consequences: Robust estimates of body size in pollinating insects. Ecology and Evolution, 9(4), 1702-1714. doi:10.1002/ece3.4835.

  • Hodar, J. A. (1997). The use of regresion equations for the estimation of prey length and biomass in diet studies of insectivore vertebrates. Miscellania Zoologica, 20(2), 1-10.

Examples

headwidthsize(HW=c(10,5,2), Eq = c("H97DB"))

Converts body length to body size (body weight (mg)) for three pollinating insect groups (Diptera, Hymenoptera and Lepidoptera).

Description

Calculates body size as dry weight (mg) from existing allometries (See 'Details') using body length values (mm).

Usage

lengthsize(BL, Eq = "DIP")

Arguments

BL

A vector of pollinator body length (BL) measurements (mm).

Eq

A vector specificing which predictive allometry to use. Acronyms denote first (and second author), publication date and taxon. DIP, HYM and LEP options are cases where authors modelled body size across all specimens within each order. Options implemented are:

Diptera

  • All: BN06D, G97D, GR84D, JS00DA, R77D, S80DCF, S80DCR, S80DMF, S93DA, W13D.

  • Brachycera (2 equations): S93DB, Sabo02DB.

  • Nematocera (3 equations): JS00DN, S93DN, Sabo02DN.

  • Asilidae (2 equations): Sabo02DA, S93DB.

  • Bombyliidae (2 equations): S93DB, Sabo02DBB.

  • Cyclorrapha: S93DC.

Hymenoptera

  • All: BN06H1, G97H, G97F, GR84H, JS00HA, R77H, S80HCF, S80HCR, S80HMF, S93HA, Sabo02H, W13H.

  • Formicidae (13 equations): BN06HF, GR84F, JS00HF, R77A, S80FCF, S80FCR, S80FMF, S93HF, S93HH, S93HI, BN06H1, G97H, G97F.

  • Apidae: Sabo02HA.

  • Braconidae: S93HB.

  • Halictidae: S93HH.

  • Ichneumonidae: S93HI.

  • Pompilidae: S93HP.

  • Vespidae: S93HV & Sabo02HV.

Lepidoptera

  • All: BN06L, G97L, JS00L, R77L, S80LCF, S80LCR, S80LMF,S93LA,W13L.

  • Noctuidea: S93LC, S93LN.

  • Geometridae: S93LG.

  • Microlepidoptera: S93LM.

  • Arctiinae: S93LC.

Value

A dataframe with pollinator body size (mg) is returned for each species from selected equation/s.

References

Full reference list provided within Kendall et al. (2019) Pollinator size and its consequences: Robust estimates of body size in pollinating insects. Ecology and Evolution, 9(4), 1702-1714. doi:10.1002/ece3.4835.

Examples

lengthsize(BL=c(10,5,2), Eq = c("S80DCR"))

Converts pollinator body length*body width to body size (dry weight (mg)).

Description

Calculates body size as dry weight (mg) from the equations described by Sample (1993) and others using body length*body width values (mm).

Usage

lengthwidthsize(BLW, Eq = "DIP")

Arguments

BLW

A vector of fly body length*body width measurments (mm).

Eq

a vector of a predictive allometry for Diptera, Hymenoptera or Lepidoptera. Options implemented are:

Value

A dataframe with body size, as dry weight (mg) is returned for each specimen from selected equation.

References

  • Kendall et al. (2019) Pollinator size and its consequences: Robust estimates of body size in pollinating insects. Ecology and Evolution, 9(4), 1702-1714. doi:10.1002/ece3.4835.

  • Sample et al. (1993) Estimation of insect biomass by length and width. American Midland Naturalist, 234-240.

Examples

lengthwidthsize(BLW=c(3,5,2), Eq = c("Brachycera"))

Bee tongue length measurements for 11 Melittidae bee species.

Description

A dataset containing glossa (mm), prementum (mm) and proboscis (mm) and taxonomic information for 179 measured bee specimens.

Usage

Melin_et_al_2019

Format

An object of class data.frame with 179 rows and 7 columns.

Details

@references

  • Melin et al. (2019) The allometry of proboscis length in Melittidae (Hymenoptera: Apoidae) and an estimate of their foraging distance using museum specimens. PloS one, 14(6), e0217839. doi:10.1371/journal.pone.0217839.


Converts bee body length (mm) to total field nectar load (ul).

Description

Calculates total field nectar load (ul) using body length (mm) from Henry & Rodet (2008).

Usage

nectarload(BL)

Arguments

BL

vector of body length measurements (mm).

Value

A dataframe with bee total field nectar load (ul) is returned for each specimen.

References

  • Kendall et al. (2019) Pollinator size and its consequences: Robust estimates of body size in pollinating insects. Ecology and Evolution, 9(4), 1702-1714. doi:10.1002/ece3.4835.

  • Henry, M., & Rodet, G. (2018). Controlling the impact of the managed honeybee on wild bees in protected areas. Scientific reports, 8(1), 9308. doi:10.1038/s41598-018-27591-y.

Examples

nectarload(BL=c(10,5,2))

Body size and intertegular distance measurements of 4438 pollinating insect specimens.

Description

A dataset containing the body size in dry weight (mg), intertegular distance (mm), body length (mg) and metadata for 4438 measured bee and hoverfly specimens.

Usage

pollimetry_dataset

Format

An object of class data.frame with 4434 rows and 23 columns.

Details

@references

  • Kendall et al. (2019) Pollinator size and its consequences: Robust estimates of body size in pollinating insects. Ecology and Evolution, 9(4), 1702-1714. doi:10.1002/ece3.4835.


Converts ITD (mm) to tongue length for bees.

Description

Calculates tongue length (mm) from Cariveau et al. (2015) and Melin et al. (2019) using intertegular distance (ITD) values (mm).

Usage

tonguelength(x, mouthpart = "all")

Arguments

x

A dataframe with the following two columns: bee intertegular distance (IT) measurements in mm and family, a vector of bee families. Only six out of the extant seven families are implemented: "Andrenidae", "Apidae", "Colletidae", "Halictidae", "Melittidae" and "Megachilidae".

mouthpart

The mouthpart you are interested in. Options are: "all", "glossa", "prementum" and "tongue" (i.e. gloss + prementum)

Value

A dataframe with bee tongue length (mm) and 95

References

  • Kendall et al. (2019) Pollinator size and its consequences: Robust estimates of body size in pollinating insects. Ecology and Evolution, 9(4), 1702-1714. doi:10.1002/ece3.4835.

  • Cariveau et al. (2016) The allometry of bee tongue length an its uses in ecology and evolution. PloS one, 11(3): e0151482. doi:10.1371/journal.pone.0151482.

  • Melin et al. (2019) The allometry of proboscis length in Melittidae (Hymenoptera: Apoidae) and an estimate of their foraging distance using museum specimens. PloS one, 14(6), e0217839. doi:10.1371/journal.pone.0217839.

Examples

example=cbind.data.frame(IT=c(1.3,2.3),
                         Family=c("Andrenidae","Apidae"))
tonguelength(example,mouthpart="all")

Converts intertegular distance (mm) to wing loading (mg mm2).

Description

Calculates wing loading (mg mm2) expressed as dry weight per total wing area using intertegular distance (mm) from Bullock (1999).

Usage

wingloading(IT)

Arguments

IT

vector of intertegular distance measurements (mm).

Value

A dataframe with wing loading (mg mm2) is returned for each specimen.

References

  • Kendall et al. (2019) Pollinator size and its consequences: Robust estimates of body size in pollinating insects. Ecology and Evolution, 9(4), 1702-1714. doi:10.1002/ece3.4835.

  • Bullock, S. H. (1999). Relationships among body size, wing size and mass in bees from a tropical dry forest in Mexico. Journal of the Kansas Entomological Society, 426-439.

Examples

wingloading(IT=c(10,5,2))