Learn R Programming

stacomiR (version 0.6.1)

choice_c,ref_env-method: Command line interface to select a monitoring station

Description

the choice_c method is intended to have the same behaviour as choice (which creates a widget in the graphical interface) but from the command line.

Usage

# S4 method for ref_env
choice_c(object, stationMesure)

Value

an object of class ref_env-class with the monitoring station selected

Arguments

object

an object of class ref_env

stationMesure

a character vector of the monitoring station code (corresponds to stm_libelle in the tj_stationmesure_stm table)

Author

Cedric Briand cedric.briand@eptb-vilaine.fr