Last chance! 50% off unlimited learning
Sale ends in
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 values passed to the choice_c method for stage is the code. Any numeric value will be discarded
# S4 method for ref_stage
choice_c(object, stage, silent = FALSE)
An object of class ref_stage-class
the vector of stages chosen
Boolean, if TRUE, information messages are not displayed
# NOT RUN {
object=new("ref_taxa")
object<-charge(object)
objectreport=new("report_mig_mult")
choice_c(object=object,objectreport=objectreport,"Anguilla anguilla")
# }
Run the code above in your browser using DataLab