stacomiR (version 0.5.3.1)

choice_c,report_mig_interannual-method: command line interface for report_mig_interannual class

Description

command line interface for report_mig_interannual class

Usage

# S4 method for report_mig_interannual
choice_c(object, dc, taxa, stage, anneedebut,
  anneefin, silent = FALSE)

Arguments

object

An object of class report_mig_interannual-class

dc

A numeric or integer, the code of the dc, coerced to integer,see choice_c,ref_dc-method

taxa

Either a species name in latin or the SANDRE code for species (ie 2038=Anguilla anguilla), it should match the ref.tr_taxon_tax referential table in the stacomi database, see choice_c,ref_taxa-method

stage

A stage code matching the ref.tr_stadedeveloppement_std table in the stacomi database, see choice_c,ref_stage-method

anneedebut

The starting the first year, passed as charcter or integer

anneefin

the finishing year

silent

Boolean, if TRUE, information messages are not displayed

Value

An object of class report_mig_interannual-class The choice_c method fills in the data slot for classes ref_dc-class, ref_taxa-class, ref_stage-class and two slots of ref_year-class