*/
public static XYDataset createMovingAverage(XYDataset source,
String suffix, double period, double skip) {
ParamChecks.nullNotPermitted(source, "source");
XYSeriesCollection result = new XYSeriesCollection();
for (int i = 0; i < source.getSeriesCount(); i++) {
XYSeries s = createMovingAverage(source, i, source.getSeriesKey(i)
+ suffix, period, skip);
result.addSeries(s);
}
return result;
}