choice_c-ref_taxa-method: choice_c method for ref_taxa

choice_c,ref_taxa-methodR Documentation

choice_c method for ref_taxa

Description

the choice_cc method is intended to have the same behaviour as choice (which creates a widget in the graphical interface) but from the command line. The values passed to the choice_c method for taxa can be either numeric (2038 = Anguilla anguilla) or character.

Usage

## S4 method for signature 'ref_taxa'
choice_c(object, taxa)

Arguments

object

An object from the class ref_taxa

taxa

The vector of taxa, can be either code (numeric) or latin name

Value

An S4 object of class ref_taxa-class with data filtered according to the taxa

Author(s)

Cedric Briand cedric.briand@eptb-vilaine.fr

Examples

## Not run: 
object=new('ref_taxa')
object<-charge(object)
objectreport=new('report_mig_mult')
choice_c(object=object,'Anguilla anguilla')

## End(Not run)

stacomiR documentation built on May 29, 2024, 10:41 a.m.