stacomiR (version 0.5.4.0)

choice,ref_year-method: choice method for ref_year referential

Description

Allows the selection of year and the assignment in environment envir_stacomi

Usage

# S4 method for 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)

Examples

Run this code
# NOT RUN {
 
# }
# 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)
# }

Run the code above in your browser using DataLab