stacomiR (version 0.5.3)

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

Description

the choice_c method is intendedto 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)

Arguments

object

an object of class ref_df-class

df

a character vector of df chosen

Examples

Run this code
# 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)
# }

Run the code above in your browser using DataCamp Workspace