Skip to content
Prev 308178 / 398503 Next

sliding window analysis with rollapply

On Tue, Oct 16, 2012 at 11:17 PM, Wang, Li <li.wang at ttu.edu> wrote:
Two Style comments:

1) Perhaps you just want read.zoo()

2) No need to have the c() when you aren't combining things.
3) rollmean() directly could also work here, but I'm not at all sure
what you mean by "the third column values should roll against the
first column values"
4) Generally better to call the generic plot() instead of the
specialized plot.default()

Michael