Learn R Programming

NSR (version 0.1.0)

NSR_simple: Check the native status for plant species in a political region

Description

NSR_simple returns information on native status for species within a political region.

Usage

NSR_simple(
  species = NULL,
  country = NULL,
  state_province = NULL,
  county_parish = NULL,
  ...
)

Value

Dataframe containing NSR results.

Arguments

species

A single species or a vector of species, with genus and specific epithet separated by a space.

country

A single country or a vector of countries. If a vector, length must equal length of species vector.

state_province

A single state/province or a vector of states. If a vector, length must equal length of species vector.

county_parish

A single county/parish or a vector of counties. If a vector, length must equal length of species vector.

...

Additional arguments passed to internal functions.

Examples

Run this code
if (FALSE) {

results <- NSR_simple(species = "Acer rubrum",
           country = "Canada",state_province = "Ontario")

results <- NSR_simple(species = c("Acer rubrum", "Aspen tremuloides") , 
           country = c("Canada","Canada"),state_province = c("Ontario","Ontario"))

}

Run the code above in your browser using DataLab