s-news
[Top] [All Lists]

Removing NAs from a data frame

To: <s-news@lists.biostat.wustl.edu>
Subject: Removing NAs from a data frame
From: "Khan, Sohail" <khan@cshl.edu>
Date: Wed, 15 Jun 2005 12:02:50 -0400
Thread-index: AcVxw64E9hpJZXbBTbOUGkhM23sTGw==
Thread-topic: Removing NAs from a data frame
Dear Members,

I am a novice S-plus user. This is a trivial question, but I would appreciate 
your help.  I have imported a large file (.txt) in S-Plus, the file is imported 
as having a blank line after each line.  Therefore, the data frame have NAs for 
blank lines.  How can I remove all the NAs?  In addition, can I export the file 
as a tab delimited .txt file??
Thanks.



Sohail Khan
Scientific Programmer
COLD SPRING HARBOR LABORATORY
Genome Research Center
500 Sunnyside Boulevard
Woodbury, NY 11797
(516)422-4076


<Prev in Thread] Current Thread [Next in Thread>