Learn R Programming

rglobi (version 0.2.4)

get_interactions_by_taxa: Return interactions involving specific taxa

Description

Returns interactions involving specific taxa. Secondary (target) taxa and spatial boundaries may also be set

Usage

get_interactions_by_taxa(sourcetaxon, targettaxon = NULL,
  interactiontype = NULL, bbox = NULL, returnobservations = F)

Arguments

sourcetaxon
Taxa of interest (consumer, predator, parasite); may be specified as "Genus species" or higher level (e.g., Genus, Family, Class).
targettaxon
Taxa of interest (prey, host); may be specified as "Genus species" or higher level (e.g., Genus, Family, Class)
interactiontype
Interaction types of interest (prey, host); may be specified as listed by get_interaction_types()
bbox
Coordinates in EPSG:4326 decimal degrees defining "left, bottom, right, top" of bounding box
returnobservations
if true, all individual observations are returned, else only distinct relationships

Value

  • Returns data frame of interactions

See Also

Other interactions: get_child_taxa; get_interaction_matrix; get_interaction_table; get_interaction_types; get_interactions; get_predators_of; get_prey_of

Examples

Run this code
get_interactions_by_taxa(sourcetaxon = "Rattus")
get_interactions_by_taxa(sourcetaxon = "Aves", targettaxon = "Rattus")
get_interactions_by_taxa(sourcetaxon = "Rattus rattus",
bbox = c(-67.87,12.79,-57.08,23.32))

Run the code above in your browser using DataLab