R: Mediation

From MathWiki

R script to estimate mediation using a bootstrap: PSYC_6140:_Mediation_R_script

Have a look at David MacKinnon's page on mediation: http://www.public.asu.edu/~davidpm/ripl/mediate.htm