plotFCSvsCCC: plotFCSvsCCC

Description Usage Arguments Value Examples

Description

plotFCSvsCCC

Usage

1
2
3
4
plotFCSvsCCC(data.combined, samplesize.min = 10, results.path = ".",
  point.col.df = data.frame(year.start = c(1979, 1985, 1999, 2009),
  year.end = c(1984, 1998, 2008, NA), point.col = c("black", "yellow",
  "red", "green"), stringsAsFactors = FALSE), ...)

Arguments

data.combined

A dataframe. Output of importFCSCCC.

samplesize.min

The number of years required per stock & age structure type. Default is 10.

results.path

A character vector of length one. The absolute path or path relative to the working directory where a new directory named "results" will be written (if not already present). All output files will be written here. Default is the current working directory.

point.col.df

A data frame

...

Arguments to pass to internal function plotFCSCCC.

Value

Plots sent to graphics window or PNG files. See plotFCSCCC for PNG creation.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
# The NA value in year.end prompts the code to get the latest year available:
point.col.df <-  data.frame(year.start=c(1979,1985,1999,2009),
                            year.end=c(1984,1998,2008,NA),
                            point.col=c('black', 'blue', 'green', 'red'),
                            stringsAsFactors = FALSE)

plotFCSvsCCC(data.combined,samplesize.min, results.path = model.list$results.path,
 point.col.df=point.col.df)
 
## End(Not run)

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