powered by
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.
# S4 method for ref_timestep_daily choice_c(object, datedebut, datefin)
An object of class ref_timestep_daily-class
A character (format "15/01/1996" or "1996-01-15" or "15-01-1996"), or POSIXct object
"15/01/1996"
"1996-01-15"
"15-01-1996"
A character
# NOT RUN { object=new("ref_dc") object<-charge(object) choice_c(object=object,datedebut="2012-01-01",datefin="2013-01-01") # }
Run the code above in your browser using DataLab