R code for creating Stata-like "marginsplot" plots of marginal effects across a moderator variable in R. The ambition is to incorporate the code in an R package.