fungraph: Function for report_mig graphs including numbers DF DC...

View source: R/fungraph.R

fungraphR Documentation

Function for report_mig graphs including numbers DF DC operations

Description

This graph is for species other than glass eel

Usage

fungraph(
  report_mig,
  tableau,
  time.sequence,
  taxa,
  stage,
  dc = NULL,
  silent,
  color = NULL,
  color_ope = NULL,
  ...
)

Arguments

report_mig

An object of class report_mig

tableau

A data frame with the with the following columns : No.pas,debut_pas,fin_pas, ope_dic_identifiant,lot_tax_code,lot_std_code,type_de_quantite,MESURE,CALCULE, EXPERT,PONCTUEL,Effectif_total,taux_d_echappement,coe_valeur_coefficient

time.sequence

A vector POSIXt

taxa

The species

stage

The stage

dc

The DC

silent

Message displayed or not

color

Default NULL, a vector of color in the following order, working, stopped, 1...5 types of operation for the fishway or DC, measured, calculated, expert, direct observation. If null will be set to brewer.pal(12,"Paired")[c(8,10,4,6,1,2,3,5,7)]

color_ope

Default NULL, a vector of color for the operations. Default to brewer.pal(4,"Paired")

...

additional parameters passed to matplot, main, ylab, ylim, lty, pch, bty, cex.main, it is currenly not a good idea to change xlim (numbers are wrong, the month plot covers all month, and legend placement is wrong

Value

No return value, called for side effects

Note

this function is intended to be called from the plot method in report_mig_mult and report_mig

Author(s)

Cedric Briand cedric.briand@eptb-vilaine.fr


stacomiR documentation built on Sept. 9, 2022, 3:10 p.m.