charge,ref_choice-method {stacomiR}R Documentation

Loading method for Refchoice referential objects

Description

Loading method for Refchoice referential objects

Usage

## 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@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

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

## End(Not run)

[Package stacomiR version 0.6.1 Index]