View source: R/Module_SUB_Plots_PatternAndFit.R
addFit | R Documentation |
Function to plot time series pattern with minimal labels
addFit(data.df, coeff, col = "red", lwd = 2, lty = 1)
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.