show_sumtrndseason2 {wqtrends} | R Documentation |
Plot seasonal rates of change in quarters based on average estimates for multiple window widths
show_sumtrndseason2(
mod,
justify = c("center", "left", "right"),
win = 5:15,
txtsz = 6,
cols = c("lightblue", "lightgreen"),
base_size = 11
)
mod |
input model object as returned by |
justify |
chr string indicating the justification for the trend window |
win |
numeric vector indicating number of years to use for the trend window |
txtsz |
numeric for size of text labels inside the plot |
cols |
vector of low/high colors for trends |
base_size |
numeric indicating base font size, passed to |
This function is similar to show_sumtrndseason
but results are grouped into seasonal quarters as four separate plots with a combined color scale.
A ggplot2
plot
Other show:
show_sumtrndseason()
library(dplyr)
# data to model
tomod <- rawdat %>%
filter(station %in% 34) %>%
filter(param %in% 'chl') %>%
filter(yr > 2015)
mod <- anlz_gam(tomod, trans = 'log10')
show_sumtrndseason2(mod, justify = 'center', win = 2:3)