stacomiR (version 0.6.1)

plot,report_mig_mult,missing-method: Plots of various type for report_mig_mult

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 report_mig_mult,missing
plot(
  x,
  plot.type = "standard",
  color = NULL,
  color_ope = NULL,
  silent = FALSE,
  ...
)

Value

Nothing, called for its side effect of plotting

Arguments

x

An object of class report_mig_mult

plot.type

One of 'standard','step','multiple'. 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 most messages from being displayed

...

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

Author

Cedric Briand cedric.briand@eptb-vilaine.fr