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

Description Usage Arguments Value Author(s) See Also Examples

Description

Loading method for Refchoice referential objects

Usage

1
2
## S4 method for signature 'ref_choice'
charge(object, vecteur, label, selected)

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

Value

An S4 object of class ref_choice-class

Author(s)

Cedric Briand cedric.briand'at'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_period-class, ref_stage-class, ref_taxa-class, ref_year-class

Examples

1
2
3
4
5
## Not run: 
object=new('ref_choice')
charge(object,vecteur=c('oui','non'),label='essai',selected=as.integer(1))

## End(Not run)

stacomiR documentation built on Nov. 22, 2021, 9:06 a.m.