labelSubspecies: Convert Occurence List to Labeled Dataframe

Description Usage Arguments Examples

View source: R/PairsOfBirdSpeciesNicheOverlap_3ormoreSpp.R

Description

This function converts a labeled list of subspecies occurences into a dataframe of occurences, with a column for subspecies, using occ2df_subspeciesLabels(). The latter function works only on a single subspecies whereas this function performs the task for all subspecies in the list.

Usage

1
labelSubspecies(subsppOccList)

Arguments

subsppOccList

A list of subspecies occurences from subspeciesOccQuery() or similar

Examples

1
2
3
4
5
listFromSubspeciesOcc = subspeciesOccQuery(spp="Cardinalis sinuatus",
        subsppList=c("sinuatus","peninsulae","fulvescens"),pointLimit=100,
        dbToQuery="gbif")
labeledLoc = labelSubspecies(subsppOccList=listFromSubspeciesOcc)
subsppNames = unique(labeledLoc$subspecies)

kaiyaprovost/subsppLabelR documentation built on Nov. 20, 2018, 9:28 p.m.