Learn R Programming

stacomiR (version 0.6.1)

charge,ref_choice-method: Loading method for Refchoice referential objects

Description

Loading method for Refchoice referential objects

Usage

# S4 method for ref_choice
charge(object, vecteur, label, selected)

Value

An S4 object of class ref_choice-class

Arguments

object

An object of class ref_choice

vecteur

A vector of name, see example code.

label

Labels for the choices

selected

An integer indicating which object is selected at launch

Author

Cedric Briand cedric.briand@eptb-vilaine.fr

See Also

Other referential objects: ref_choice-class, ref_coe-class, ref_dc-class, ref_df-class, ref_horodate-class, ref_list-class, ref_par-class, ref_parqual-class, ref_parquan-class, ref_stage-class, ref_taxa-class, ref_year-class

Examples

Run this code
if (FALSE) {
object=new('ref_choice')
charge(object,vecteur=c('oui','non'),label='essai',selected=as.integer(1))
}

Run the code above in your browser using DataLab