addFit: addFit

View source: R/Module_SUB_Plots_PatternAndFit.R

addFitR Documentation

addFit

Description

Function to plot time series pattern with minimal labels

Usage

addFit(data.df, coeff, col = "red", lwd = 2, lty = 1)

Arguments

data.df

data frame used for the slope calculation that produced the coefficients (using the Year column here)

coeff

are the coefficients (median from posterior or MLE values)

col

line color, default is "red"

lwd

line width, default is 2


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