I want to thank Bill Pikounis, Scott Chasalow and Samuel Buttrey. They all
suggest the following method and it works wonderfully.
as.numeric (unlist (unpaste ("1.2.3.4.5.6.7", sep=".")))
Thanks
Sean
Sean N Ge wrote:
> Hi, all:
>
> I have a string 1.2.3.4.5.6.7 and would line to convert into a
> vector
> (1,2,3,4,5,6). Is there any way to do this in S+.
>
> Thanks.
>
> Sean N. Ge
>
> -----------------------------------------------------------------
> ---------------------------------------------------------------------
> This message was distributed by s-news@lists.biostat.wustl.edu. To
> unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with
> the BODY of the message: unsubscribe s-news
Sean.Ge.vcf
Description: Card for Sean N Ge
|