Skip to content
Prev 243453 / 398500 Next

Zoo - bug ???

I am not sure whether this is 100 % related, but I also get some unexpected
behaviour with NA and rollapply:
In the following example I would expect in Line 3 to see a 1 instead of an
NA (mean out of [1, NA, NA]
What do you think ?
[1] 1
A1a A1b
1   NA  NA
2   NA  NA
3    1  NA
4    2 1.5
5    3 2.0
6    4 2.5
7    5 3.5
8    6 4.5
9   NA 5.0
10  NA 5.5

-----
Christian Langkamp
christian.langkamp-at-gmxpro.de