plotPattern: plotPattern

View source: R/Module_SUB_Plots_PatternAndFit.R

plotPatternR Documentation

plotPattern

Description

Function to plot time series pattern with minimal labels

Usage

plotPattern(
  yrs,
  vals,
  width = 1,
  color = "grey",
  yrs.axis = FALSE,
  vals.axis = FALSE,
  vals.lim = NULL,
  hgrid = FALSE,
  vgrid = FALSE,
  pch.val = 19,
  pch.bg = NULL
)

Arguments

yrs

numeric vector of years

vals

numeric vector of values

width

line width, default is 1

color

line color, default is "grey"

yrs.axis

if TRUE, display the year axis. default is FALSE

vals.axis

if true, display the value axis. default is FALSE

vals.lim

vector of length 2 with y-axis limits

hgrid

if TRUE, display horizontal grid lines. default is FALSE

vgrid

if TRUE, display vertical grid lines. default is FALSE

pch.val

numeric value for plotting character. default is 19 (solid pt)

pch.bg

text string with color for point fill (if pch allows, e.g. 21)


SOLV-Code/MetricsCOSEWIC documentation built on Nov. 3, 2022, 8:59 p.m.