Suddenly (e.g. yesterday) all my functions that have "na.rm=" as a
parameter (e.g., mean(), sd(), range(), etc.) have been reporting
warnings with "na.rm=T". The message is "Warning message: the condition
has length > 1 and only the first element will be used in: if (na.rm) x
<- x[!is.na(x)] ". T
On 6/14/2007 10:32 AM, Lucke, Joseph F wrote:
> Suddenly (e.g. yesterday) all my functions that have "na.rm=" as a
> parameter (e.g., mean(), sd(), range(), etc.) have been reporting
> warnings with "na.rm=T". The message is "Warning message: the condition
> has length > 1 and only the first elemen
Lucke, Joseph F wrote:
> Suddenly (e.g. yesterday) all my functions that have "na.rm=" as a
> parameter (e.g., mean(), sd(), range(), etc.) have been reporting
> warnings with "na.rm=T". The message is "Warning message: the condition
> has length > 1 and only the first element will be used in: if (
Brilliant! Yesterday, I created a table called T. Dumb. Removing it
solves the problem. Thanks.
-Original Message-
From: Duncan Murdoch [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 14, 2007 10:01 AM
To: Lucke, Joseph F
Cc: r-help@stat.math.ethz.ch
Subject: Re: [R] Problems with
Lucke, Joseph F wrote:
> Suddenly (e.g. yesterday) all my functions that have "na.rm=" as a
> parameter (e.g., mean(), sd(), range(), etc.) have been reporting
> warnings with "na.rm=T". The message is "Warning message: the condition
> has length > 1 and only the first element will be used in: if (