How to do a mediation analysis in R...with visuals!

Link to the added variable plot video:    • Controlling/Conditioning and Added Variabl...   Learning Objectives: Conditioning versus mediation Three (two?) step process of mediation How to do traditional mediation analysis in R How flexplot visualizes mediation How to visualize with flexplot This video relies on flexplot, which can be downloaded from R using the following commands: install.packages("devtools") devtools::install_github('dustinfife/flexplot', ref="development") And here's a paper I wrote about my eight step approach to data analysis: https://psyarxiv.com/r8g7c/ Undergraduate curriculum playlist (GLM-based approach): https://www.youtube.com/playlist?list... Graduate curriculum playlist (also GLM-based approach): https://www.youtube.com/playlist?list... Exonerating EDA paper: https://psyarxiv.com/5vfq6/ Download JASP (and visual modeling module): www.jasp-stat.org