library(plyr) pg_mean <- ddply(PlantGrowth, "group", summarise, weight = mean(weight)) save(pg_mean, file="data/pg_mean.rda")
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.