s-news
[Top] [All Lists]

Re: remove all rows that have at least one NA

To: <Yannis.C.Tzamouranis@dynegy.com>
Subject: Re: remove all rows that have at least one NA
From: ripley@stats.ox.ac.uk
Date: Wed, 12 Jun 2002 15:18:20 +0100 (BST)
Cc: <s-news@lists.biostat.wustl.edu>
In-reply-to: <OF8ECD6EAC.205F28EE-ON86256BD6.004B76FE@ngccorp.com>
On Wed, 12 Jun 2002 Yannis.C.Tzamouranis@dynegy.com wrote:

> Hi folks.
> Just a basic question:
> Is there a quick way to remove all rows from a data frame which have at
> least one NA?

?na.omit

>
> Yannis
>
>
>
> --------------------------------------------------------------------
> 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
>

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


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