Learn R Programming

stacomiR (version 0.6.1)

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

Description

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

Usage

# S4 method for report_annual
choice_c(object, dc, taxa, stage, start_year, end_year, silent = FALSE)

Value

An object of class report_annual-class with data selected

Arguments

object

An object of class report_annual-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

start_year

The starting the first year, passed as character or integer

end_year

the finishing year

silent

Boolean, if TRUE, information messages are not displayed

Author

Cedric Briand cedric.briand@eptb-vilaine.fr