Learn R Programming

SWMPrExtension (version 0.3.12)

geographic_unique_stations: Return a vector of geographically unique NERR Stations

Description

Creates an alphabetically sorted, vector of geographically unique stations for mapping

Usage

geographic_unique_stations(nerr_site_id)

Arguments

nerr_site_id

chr vector of valid NERR stations

Value

returns a vector of NERR stations

Details

This function is intended for internal use with the NERRS reserve level reporting scripts and is used along with res_local_map. It takes a vector of NERR site ids and only returns geographically unique locations.

Examples

Run this code
# NOT RUN {
stns <- c('apacpnut', 'apacpwq', 'apadbnut', 'apadbwq', 'apaebmet',
'apaebnut', 'apaebwq', 'apaesnut', 'apaeswq')

geographic_unique_stations(stns)

# }

Run the code above in your browser using DataLab