RTOTALS

RTOTALS(x;p;q) running totals of x using a window around each unit that includes p preceding and q succeeding observations; p must be set, default for q is 0.