add/edit plot.aggregate.data.R