Displaying 1 result from an estimated 1 matches for "tp23658790p23663549".
2009 May 21
3
Behavior of seq with vector from
Hello,
I want to use seq with multiple from values and am getting unexpected
(to me) behavior. I'm wondering if this behavior is intentional or not.
> seq(2, by=3, length.out=4)
[1] 2 5 8 11
> seq(3, by=3, length.out=4)
[1] 3 6 9 12
Now if I want the combined sequence, I thought I could pass in c(2,3),
and I get:
> seq(c(2,3), by=3, length.out=8)
[1] 2 6 8 12 14 18 20 24