occurrence {flora} | R Documentation |
Taxa occurrence
Description
Find the taxa that occur in a given state of Brazil.
Usage
occurrence(states, type = c("any", "only", "all"), taxa = NULL)
Arguments
states |
a character vector with one or more state abbreviations following. See notes for abbreviations. |
type |
type of matching to be used. |
taxa |
optional character vector to match against the states |
Value
a data frame
Note
List of abbreviations: http://en.wikipedia.org/wiki/States_of_Brazil
Examples
## Not run:
occ.any <- occurrence(c("SP", "BA", "MG"), type = "any")
occ.only <- occurrence(c("SP", "BA", "MG"), type = "only")
occ.all <- occurrence(c("SP", "BA", "MG"), type = "all")
occ.taxa <- occurrence(c("SP", "BA", "MG"), type = "all", taxa = lower.taxa("Myrcia"))
head(occ.any)
head(occ.only)
head(occ.all)
head(occ.taxa)
## End(Not run)
[Package flora version 0.3.4 Index]