stsPlot: Generate an STS plot using ggplot2.

Description Usage Arguments Value Examples

View source: R/imrsts.R

Description

stsPlot returns an STS plot based on its parameters.

Usage

1
stsPlot(stsData, type = "Abundance")

Arguments

stsData

REDUS STS data from loadSTS.

type

text, valid values are "Abundance" and "Weight".

Value

On a valid input a ggplot2 object will be returned.

Examples

1
2
3
4
## Not run: 
stsPlot(loadSTS("Barents Sea Northeast Arctic cod bottom trawl index in winter"), "Abundance")

## End(Not run)

REDUS-IMR/REDUStools documentation built on Sept. 23, 2021, 12:51 a.m.