choice_c-ref_timestep_daily-method: choice_c method for class ref_timestep_daily

choice_c,ref_timestep_daily-methodR Documentation

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 signature '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

Author(s)

Cedric Briand cedric.briand@eptb-vilaine.fr

Examples

## Not run: 
 object=new('ref_dc')
 object<-charge(object)
 choice_c(object=object,datedebut='2012-01-01',datefin='2013-01-01')

## End(Not run)

stacomiR documentation built on May 29, 2024, 10:41 a.m.