plmed R-package for partially linear mediation To install: devtools::install_github("ohines/plmed") library(plmed) To see documentation ?plmed ?G_estimation ?TTS To uninstall: remove.packages(plmed)