Learn R Programming

stacomiR (version 0.6.0)

choice_c,ref_timestep_daily-method: choice_c method for class ref_timestep_daily

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.

Usage

# S4 method for ref_timestep_daily
choice_c(object, datedebut, datefin)

Arguments

object

An object of class ref_timestep_daily-class

datedebut

A character (format '15/01/1996' or '1996-01-15' or '15-01-1996'), or POSIXct object

datefin

A character

Value

An S4 object of class ref_timestep_daily-class with date selected

Examples

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