stacomiR (version 0.5.3.1)

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

Description

command line interface for report_sea_age class

Usage

# S4 method for report_sea_age
choice_c(object, dc, taxa = 2220, stage = c("5",
  "11", "BEC", "BER", "IND"), par = c("1786", "1785", "C001", "A124"),
  horodatedebut, horodatefin, limit1hm, limit2hm, silent = FALSE)

Arguments

object

An object of class report_sea_age-class

dc

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

taxa

'2220=Salmo salar', these should match the ref.tr_taxon_tax referential table in the stacomi database, see choice_c,ref_taxa-method

stage

'5','11','BEC','BER','IND'

par

Parameters chosen for the report are measured body size (1786), measured fork length (1785),video size (C001) and number of year at sea (A124)

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.

limit1hm

Size limit of a salmon for an one sea winter fish

limit2hm

Size limit of a salmon for a two sea winter fish

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.