Skip to contents

The dplot functions plot data passed to a gadget3 model instead of data from the model or fit objects.

Usage

dplot_catch(x, base_size = 8)

Arguments

x

A gadget3 ready data frame created using mfdb, g3_data or add_g3_attributes. Can be a single data frame or a named list of data frames in which case multiple catches are plotted in the same figure.

base_size

Base size parameter for ggplot. See ggtheme.

Value

A ggplot object.

Examples

data(example_catches)
dplot_catch(TrawlNor_catches)

dplot_catch(
  list("TrawlNor" = TrawlNor_catches,
       "OtherNor" = OtherNor_catches,
       "TrawlRus" = TrawlRus_catches,
       "OtherRus" = OtherRus_catches,
       "Internat" = Internat_catches)
       )