Skip to content
Prev 221018 / 398500 Next

Vector recycling and zoo

When you combine zoo objects with arithmetic it merges them using all = FALSE:
a  b
1  2  3
2  4  6
3  6  9
4  8 12
5 10 15
1
1
x$a x$a[1]
1   2      2
1
1
On Sun, May 16, 2010 at 3:00 AM, Sean Carmody <seancarmody at gmail.com> wrote: