Hello,
I cannot understand what filter() function in package stat is doing.
For example, what does filter(1:100, c(1,1,1)) mean?
Could someone please explain? Help file is not enough for me.
Thanks in advance.
Sergey
__
R-help@r-project.org mailing lis
For each time point is sums the value prior to it, the
value at the time point itself and the value at the next
time point. For the first timepoint there is no prior
value so its NA. For the second timepoint we have
1+2+3=6. For the third timepoint we have 2+3+4=9 and
so on.
> filter(1:10, c(
2 matches
Mail list logo