tags

  • About
  • Blog
  • Talks
  • Projects
  • About
  • Blog
  • Talks
  • Projects

Plotting GAMM interactions with ggplot2

Nov 16, 2019

Discover how to visualize Generalized Additive Mixed Models (GAMMs) with interactions in R using ggplot2 and mgcv. This tutorial covers numeric and factor interactions, creating prediction datasets, and generating smooth plots. Ideal for enhancing your data analysis and visualization skills.

GAMM random effects

Apr 05, 2018

Explore the use of Generalized Additive Mixed Models (GAMMs) with random effects using mgcv in R. This blog post covers the differences between specifying random effects in mgcv compared to other packages like lme4 and walks through a detailed example with simulated data. Learn about gamm model output, interpreting random effects, and plot comparisons of different model specifications.

GAMM spaghetti plots in R with ggplot

Mar 08, 2018

Discover how to plot Generalized Additive Mixed Models (GAMMs) using ggplot2 in R. This tutorial covers generating simulated data, creating GAMM models with mgcv, predicting single predictor effects, and using the itsadug package for smooth predictions. Learn the steps to visualize complex models and create informative plots.

2023 Athanasia Mo Mowinckel

Dr. Mowinckel’s