plot: plot

plot,biodyn,missing-methodR Documentation

plot

Description

Plots time series of biomass, harvest rate and catch for a biodyn object, using ggplot2.

Usage

## S4 method for signature 'biodyn,missing'
plot(
  x,
  y,
  probs = c(0.9, 0.75, 0.5, 0.25, 0.1),
  na.rm = FALSE,
  type = 7,
  worm = NULL,
  fn = list(Stock = function(x) stock(x), Harvest = function(x) harvest(x), Yield =
    function(x) catch(x)),
  facet = facet_wrap(~qname, scales = "free", ncol = 1),
  ...
)

## S4 method for signature 'FLQuants'
plotCcf(data, ...)

Arguments

x

an object of class biodyn

y

second argument

probs

numeric vector of probabilities with values in [0,1].

na.rm

a logical value indicating whether NA values should be stripped before computation.

type

an integer between 1 and 9 selecting one of the quantile algorithms to be used.

worm

iter(s) to plot as lines

fn

functions

facet

facet for panelling

Value

an ggplot2 object

an ggplot2 object

Examples

## Not run: 

bd =sim()
plot(bd)

## End(Not run) 
## Not run: 


## End(Not run) 

laurieKell/mpb documentation built on Sept. 9, 2023, 9:47 p.m.