stacomiR (version 0.5.4.2)

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

Description

command line interface for report_mig_char class

Usage

# S4 method for report_mig_char
choice_c(object, dc, taxa, stage,
  parquan = NULL, parqual = NULL, horodatedebut, horodatefin,
  echantillon = gettext("with", domain = "R-stacomiR"), silent = FALSE)

Arguments

object

An object of class report_mig_char-class

dc

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

taxa

'2220=Salmo salar', can be a vector with several values these should match the ref.tr_taxon_tax referential table in the stacomi database, see choice_c,ref_taxa-method

stage

The stages selected, can be a vector with several values

parquan

Quantitative parameter

parqual

Qualitative parameter

horodatedebut

The starting date as a character, formats like %Y-%m-%d or %d-%m-%Y can be used as input

horodatefin

The finishing date of the report, for this class this will be used to calculate the number of daily steps.

echantillon

Default "with" can be "without" (values "avec" and "sans") are accepted, checking without modifies the query in the connect method so that subsamples are not allowed,

silent

Default FALSE, if TRUE the program should no display messages

Value

An object of class report_sea_age-class The choice_c method fills in the data slot for classes ref_dc-class, ref_taxa-class, ref_stage-class, ref_par-class and two slots of ref_horodate-class and then uses the choice_c methods of these object to select the data.