plot-report_mig-ANY-method: Plots of various type for report_mig.

plot,report_mig,ANY-methodR Documentation

Plots of various type for report_mig.

Description

  • plot.type="standard"calls fungraph and fungraph_glasseel functions to plot as many "report_mig" as needed, the function will test for the existence of data for one dc, one taxa, and one stage

  • plot.type="step"creates Cumulated graphs for report_mig_mult. Data are summed per day for different dc taxa and stages

  • plot.type="multiple"Method to overlay graphs for report_mig_mult (multiple dc/taxa/stage in the same plot)

Usage

## S4 method for signature 'report_mig,ANY'
plot(
  x,
  y,
  plot.type = "standard",
  color = NULL,
  color_ope = NULL,
  silent = FALSE,
  ...
)

Arguments

x

An object of class report_mig

y

From the formals but missing

plot.type

One of "standard","step". Defaut to standard the standard report_mig with dc and operation displayed, can also be step or multiple

color

Default NULL, argument passed for the plot.type="standard" method. A vector of color in the following order : (1) working, (2) stopped, (3:7) 1...5 types of operation, (8:11) numbers, weight, NULL, NULL (if glass eel), (8:11) measured, calculated, expert, direct observation for other taxa. If null will be set to brewer.pal(12,"Paired")[c(8,10,4,6,1,2,3,5,7)]

color_ope

Default NULL, argument passed for the plot.type="standard" method. A vector of color for the operations. Default to brewer.pal(4,"Paired")

silent

Stops displaying the messages.

...

Additional arguments passed to matplot or plot if plot.type="standard", see ... in fungraph_glasseel and fungraph

Value

Nothing, called for its side effect

Author(s)

Cedric Briand cedric.briand@eptb-vilaine.fr


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