plotFPAseries: Plot series found in *.fpa files.

Description Usage Arguments Value Examples

Description

Plot series found in *.fpa files.

Usage

1
2
plotFPAseries(dat.fpa, stock.var = "stockname_long", age.var = "age",
  plot.true.age = TRUE, aabm, fpa.filename)

Arguments

dat.fpa

A data frame. Output from read_FPA.

stock.var

A character vector of length one. The name of the variable representing stock names.

age.var

A character vector of length one. The name of the variable representing age data (i.e. the age index or true age).

plot.true.age

Logical (TRUE/FALSE). Plot true age data. Default is TRUE. If TRUE, then age.var should likely be "age".

aabm

A character vector of length one. The AABM name. This is used in the ouput filename.

fpa.filename

A character vector of length one. The FPA name. This is used in the ouput filename.

Value

A single png file of lattice plot showing the FPA series by stock and age or age index.

Examples

1
2
3
4
5
## Not run: 
plotFPAseries(dat.fpa = dat.fpa, stock.var = "stockname_long", age.var = "age",
 plot.true.age = TRUE, aabm = aabm, fpa.filename = fpa.filename)

## End(Not run)

MichaelFolkes/ctctools documentation built on May 7, 2019, 4:56 p.m.