plot_gam_ts: Plot time series of a GAM

Description Usage Arguments

View source: R/plot_results.R

Description

Plots figures to examine model results and observations over time, as well as the contribution of each predictor to the model. Two figures are produced:

  1. Contributions of each predictor to the model over time

  2. Time series of observations & model fit with 95% confidence interval

Usage

1
plot_gam_ts(g, data, response)

Arguments

g

A gam

data

Data frame used to produce g

response

Name of the response variable


DanielReedOcean/ACCASPR documentation built on Aug. 22, 2019, 3:34 a.m.