Updates to effects plotting code; added example R script for fitting.