Data.Plots: Plot of available data from the output of an assessment The...

View source: R/Data.Plots.r

Data.PlotsR Documentation

Plot of available data from the output of an assessment The function Data.Plots generates a timeseries plot of the different data sources. Optionally, the size of the points for the age, length, and weight composition can be proportion to the sample size of input data

Description

Plot of available data from the output of an assessment The function Data.Plots generates a timeseries plot of the different data sources. Optionally, the size of the points for the age, length, and weight composition can be proportion to the sample size of input data

Usage

Data.Plots(
  x,
  DataName = deparse(substitute(x)),
  draft = TRUE,
  graphics.type = NULL,
  use.color = TRUE,
  scaleSize = FALSE,
  cexval = 1,
  fill = TRUE,
  sampleName = "neff"
)

Arguments

x

an R list with output from the assessment model.

DataName

string used in plot titles. Defaults to argument x. #' @param draft modifies plots for use in a report. When FALSE main titles are omitted.

draft

modifies plots for use in a report. When FALSE main titles are omitted.

graphics.type

a vector of graphics file types to which graphics are saved. When NULL, no plots are saved.

use.color

plots are made in grayscale when FALSE

scaleSize

a boolean whether to scale size of point for age and length composition based on the sample size. Default is FALSE

cexval

cex multiplier of squares to make continuous bar if desired

fill

a boolean whether to fill the point, this is useful for diagnosing how much overlap occurs in the points, Default if TRUE

sampleName

a character string of the length and age composition name to search for in the tseries matrix. Do not include the '.'. Default is 'neff'

Value

Graphics

Author(s)

MT Vincent

Examples


Data.Plots(gag)


rcheshire/FishGraph documentation built on Feb. 23, 2024, 11:27 a.m.