choice_c,ref_dc-method {stacomiR} | R Documentation |
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 dc are transformed to integer as the ref_dc only takes integer in the dc slots. The method also loads the stations and ouvrages (dams) associated with the counting device (dc). The values passed to the choice_c method are then checked with the setValidty method. Finally, if an objectreport is passed as a parameter, the method will do a charge_with_filter to select only the taxa present in the counting devices
## S4 method for signature 'ref_dc' choice_c(object, dc)
object |
an object of class ref_dc |
dc |
a character vector of dc chosen |
Cedric Briand cedric.briand"at"eptb-vilaine.fr
## Not run: win=gwindow() group=ggroup(container=win,horizontal=FALSE) object=new("ref_dc") object<-charge(object) objectreport=new("report_mig_mult") choice_c(object=object,objectreport=objectreport,dc=1) ## End(Not run)