Skip to content

Commit

Permalink
reduce overplotting in resids
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasjclark committed Nov 25, 2024
1 parent e45e01d commit b1fd152
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/plot_mvgam_resids.R
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ plot_mvgam_resids = function(object,
ymidhigh = quantile(acf, probs = 0.75),
yqhigh = quantile(acf, probs = 0.8),
yhigh = quantile(acf, probs = 0.95)) %>%
dplyr::select(-acf) %>%
dplyr::distinct()
acf_plot <- ggplot2::ggplot(acf_stats,
ggplot2::aes(x = lag)) +
Expand Down Expand Up @@ -172,6 +173,7 @@ plot_mvgam_resids = function(object,
ymidhigh = quantile(pacf, probs = 0.75),
yqhigh = quantile(pacf, probs = 0.8),
yhigh = quantile(pacf, probs = 0.95)) %>%
dplyr::select(-pacf) %>%
dplyr::distinct()

pacf_plot <- ggplot2::ggplot(pacf_stats,
Expand Down

0 comments on commit b1fd152

Please sign in to comment.