Thank you!
- Original Message
From: "markle...@verizon.net"
To: Bill Hyman
Sent: Thursday, February 5, 2009 3:35:54 PM
Subject: RE: [R] how to separate char and num within a variable
hi: you can do below but there should possibly be a better way so I'm sending
offl
Thx a lot!
- Original Message
From: Marc Schwartz
To: Bill Hyman
Cc: r-help@r-project.org
Sent: Thursday, February 5, 2009 3:39:53 PM
Subject: Re: [R] how to separate char and num within a variable
on 02/05/2009 05:20 PM Bill Hyman wrote:
> Hi all,
>
> I read in a col
Thx a lot! It works
- Original Message
From: Wacek Kusnierczyk
To: Bill Hyman
Cc: R help
Sent: Thursday, February 5, 2009 3:38:34 PM
Subject: Re: [R] how to separate char and num within a variable
Bill Hyman wrote:
> Hi all,
>
> I read in a column which looks like "
on 02/05/2009 05:20 PM Bill Hyman wrote:
> Hi all,
>
> I read in a column which looks like "chr1:000889594-000889638", and
> need to break them into three columns like "chr1:", "000889594" and
> "000889638". How shall I do in R. Thanks a lot for your suggestions!
See ?strsplit
Vec <- "chr1:00088
Bill Hyman wrote:
> Hi all,
>
> I read in a column which looks like "chr1:000889594-000889638", and need to
> break them into three columns like "chr1:", "000889594" and "000889638". How
> shall I do in R. Thanks a lot for your suggestions!
>
>
if strings is your vector of strings, this shoul
Hi all,
I read in a column which looks like "chr1:000889594-000889638", and need to
break them into three columns like "chr1:", "000889594" and "000889638". How
shall I do in R. Thanks a lot for your suggestions!
Bill
__
R-help@r-project.org mailing
6 matches
Mail list logo