choice_c-ref_stage-method: choice_c method for ref_stage

choice_c,ref_stage-methodR Documentation

choice_c method for ref_stage

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. The values passed to the choice_c method for stage is the code. Any numeric value will be discarded

Usage

## S4 method for signature 'ref_stage'
choice_c(object, stage, silent = FALSE)

Arguments

object

An object of class ref_stage-class

stage

the vector of stages chosen

silent

Boolean, if TRUE, information messages are not displayed

Value

An S4 object of class ref_stage-class with the stage selected in the data slot

Author(s)

Cedric Briand cedric.briand@eptb-vilaine.fr

Examples

## Not run: 
object=new('ref_stage')
object<-charge(object)

## End(Not run)

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