Learn R Programming

stacomiR (version 0.6.1)

choice_c,ref_df-method: 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 ref_df
choice_c(object, df)

Value

An object of class ref_df with df selected

Arguments

object

an object of class ref_df-class

df

a character vector of df chosen

Author

Cedric Briand cedric.briand@eptb-vilaine.fr

Examples

Run this code
if (FALSE) {
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)
}

Run the code above in your browser using DataLab