choice,ref_year-method {stacomiR}R Documentation

choice method for ref_year referential

Description

Allows the selection of year and the assignment in environment envir_stacomi

Usage

## S4 method for signature 'ref_year'
choice(object, nomassign = "ref_year",
  funoutlabel = gettext("Year selected\n", domain = "R-stacomiR"),
  titleFrame = gettext("Year choice", domain = "R-stacomiR"),
  preselect = 1)

Arguments

object

An object of class ref_year-class

nomassign

The name to be assigned in envir_stacomi

funoutlabel

The label that appears in funout

titleFrame

Title for the frame

preselect

The number of the year selected in the gdroplist (integer)

Author(s)

Cedric Briand cedric.briand"at"eptb-vilaine.fr

Examples

 
## Not run: 
object=new("ref_year")
object<-charge(object)
win=gwindow(title="test ref_year")
group=ggroup(container=win,horizontal=FALSE)
choice(object,nomassign="ref_year",funoutlabel="essai",titleFrame="essai ref_year",preselect=1)
dispose(win)

## End(Not run)

[Package stacomiR version 0.5.4.4 Index]