Learn R Programming

RMAWGEN (version 1.3.9.3)

WhereIs: Gets the toponym where a meteorological station is located

Description

Gets the toponym where a meteorological station is located

Usage

WhereIs(name, station_names, location)

Value

the location toponym given the vectors of station IDs and the respective location toponyms

Arguments

name

character ID of the station

station_names

vector containing the IDs (characters) of the considered meteorological stations. An example is STATION_NAMES defined in the trentino dataset.

location

vector containing the toponyms. An example is LOCATION defined in the trentino dataset.

Author

Emanuele Cordano, Emanuele Eccel

Examples

Run this code
data(trentino)
WhereIs("T0099",station_names=STATION_NAMES,location=LOCATION) 

Run the code above in your browser using DataLab