choice_c-ref_df-method: Command line interface to choose a fishway

choice_c,ref_df-methodR Documentation

Command line interface to choose a fishway

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. The parameters for dF are transformed to integer as the ref_df only takes integer in the df slots. DF are third in hierarchy in the stacomi database Station>ouvrage>DF>DC>operation. This class is only used in the report_df class.

Usage

## S4 method for signature 'ref_df'
choice_c(object, df)

Arguments

object

an object of class ref_df-class

df

a character vector of df chosen

Value

An object of class ref_df with df selected

Author(s)

Cedric Briand cedric.briand@eptb-vilaine.fr

Examples

## Not run: 
win=gwindow()
group=ggroup(container=win,horizontal=FALSE)
object=new('ref_df')
object<-charge(object)
objectreport=new('report_mig_mult')
choice_c(object=object,objectreport=objectreport,dc=1)

## End(Not run)

stacomiR documentation built on July 18, 2022, 5:09 p.m.