Learn R Programming

SAMtool (version 1.7.0)

plot.retro: Methods for retro object

Description

plot and summary functions for retro object.

Usage

# S4 method for retro,missing
plot(x, color = NULL)

# S4 method for retro summary(object)

Value

A series of plots showing retrospective patterns in fishing mortality, spawning biomass, recruitment, etc.

Arguments

x

An object of class retro.

color

An optional character vector of colors for plotting.

object

An object of class retro.

Author

Q. Huynh

Examples

Run this code
# \donttest{
res <- SP(Data = swordfish)
ret <- retrospective(res, figure = FALSE)

summary(ret)
plot(ret)
# }

Run the code above in your browser using DataLab