From: Yong Wang (email@example.com)
Date: Sun 30 May 2004 - 14:51:00 EST
Samir, can you give an example for the use of sed?
On Sun, 30 May 2004, Samir Mishra wrote:
> If the data file is in text format, is large with a lot of "."s, use sed.
> It's MUCH faster than any other tool for this sort of thing.
> -----Original Message-----
> From: Yong Wang [mailto:firstname.lastname@example.org]
> Sent: Sunday, May 30, 2004 05:25
> To: email@example.com
> Subject: [R] how to remove "." or replace it with NA?
> a quick question
> A larger file include many"." (stands for missing
> value) for variable, say, x. after
> read in the file and assign it another name such as :
> but x1 is always a facotor but not numerical.
> so How can I get a numeric vector from the read in data frame.
> how can I replace those "." with "NA" to perform analysis.
> thank you very much
> best regards
> Rfirstname.lastname@example.org mailing list
> PLEASE do read the posting guide!
Remail@example.com mailing list
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:14 EST