Add inline r code for mean, add titles for plots.