Re: [R] jump in sequence

From: Adrian Dusa <dusa.adrian_at_gmail.com>
Date: Tue 30 Jan 2007 - 14:46:49 GMT

On Tuesday 30 January 2007 16:38, Peter Dalgaard wrote:
> >[...snip...]
> Is this it?
>
> > as.vector(outer(0:2,seq(4,22,9),"+"))
>
> [1] 4 5 6 13 14 15 22 23 24

Indeed it is :))
Thanks,
Adrian

-- 
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618 \
          +40 21 3120210 / int.101

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Wed Jan 31 02:11:25 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 30 Jan 2007 - 15:30:25 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.