choice_c,ref_year-method | R Documentation |
The choice_c method will issue a warning if the year is not present in the database Allows the selection of year and the assignment in environment envir_stacomi
## S4 method for signature 'ref_year'
choice_c(
object,
annee,
nomassign = "ref_year",
funoutlabel = gettext("Year selected\n", domain = "R-stacomiR"),
silent = FALSE
)
object |
An object of class ref_year-class |
annee |
The year to select, either as a character or as a numeric |
nomassign |
The name to be assigned in envir_stacomi |
funoutlabel |
The label that appears in funout |
silent |
Stops messages from being displayed if silent=TRUE, default FALSE |
object An object of class ref_year-class with year selected
Cedric Briand cedric.briand@eptb-vilaine.fr
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.