al Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris Oldmeadow
Sent: Tuesday, August 26, 2008 12:42 AM
To: r-help@r-project.org
Subject: [R] sequence with start and stop positions
Hi,
I have a vector of start positions, and another vector of
stop positions,
eg start&
On Tue, 26 Aug 2008, Chris Oldmeadow wrote:
Hi,
I have a vector of start positions, and another vector of stop positions,
eg start<-c(1,20,50)
stop<-c(7,25,53)
Is there a quick way to create a sequence from these vectors?
new<-c(1,2,3,4,5,6,7,20,21,22,23,24,25,50,51,52,53)
Vectorize t
> To: r-help@r-project.org
> Subject: [R] sequence with start and stop positions
>
> Hi,
>
> I have a vector of start positions, and another vector of
> stop positions,
>
> eg start<-c(1,20,50)
> stop<-c(7,25,53)
>
> Is there a quick
ww.cmis.csiro.au/bill.venables/
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Oldmeadow
Sent: Tuesday, 26 August 2008 2:42 PM
To: r-help@r-project.org
Subject: [R] sequence with start and stop positions
Hi,
I have a vector of start positions, and another vecto
Hi,
I have a vector of start positions, and another vector of stop positions,
eg start<-c(1,20,50)
stop<-c(7,25,53)
Is there a quick way to create a sequence from these vectors?
new<-c(1,2,3,4,5,6,7,20,21,22,23,24,25,50,51,52,53)
the way Im doing it at the moment is
pos<-seq(start[1],sto
5 matches
Mail list logo