Skip to contents

Plots the biomass composition of multistanza groups from an Rpath.stanzas object.

Usage

stanzaplot(
  Rpath.params,
  StanzaGroup,
  line.cols = c("black", "green", "blue", "red")
)

Arguments

Rpath.params

R object containing the parameters needed to create a Rpath model. This is generated either by the create.rpath.params() or read.rpath.params() functions.

StanzaGroup

The Stanza group's name to be plotted.Valid values are found in the `stanzas` field of the Rpath parameter file.

line.cols

A vector of four colors used to represent the population biomass, relative number, individual weights, and stanza separation lines.

Value

Creates a figure showing the break down of biomass and number per stanza.

Examples

# Choose group with multiple stanzas
params <- REco.params
stanzaplot(params, StanzaGroup = "Roundfish1")