On Jul 18, 2010, at 2:52 PM, Hadley Wickham wrote:
The problem is in data.frame[ and any NA in a logical vector will
return a
row of NA's. This can be avoid by wrapping which() around the
logical vector
which seems entirely wasteful or using subset().
The basic philosophy that causes this
> The problem is in data.frame[ and any NA in a logical vector will return a
> row of NA's. This can be avoid by wrapping which() around the logical vector
> which seems entirely wasteful or using subset().
The basic philosophy that causes this behaviour is sensible in my
opinion: missing values m
On Jul 18, 2010, at 12:02 PM, stephen sefick wrote:
I am confused by the behavior of the below piece of code. The NAs are
making it past the logical call ==0. I am sure that I am missing
something. I just don't understand this behavior. Thanks for your
help in advance.
code###
On 18.07.2010 18:02, stephen sefick wrote:
I am confused by the behavior of the below piece of code. The NAs are
making it past the logical call ==0. I am sure that I am missing
something. I just don't understand this behavior. Thanks for your
help in advance.
code
I am confused by the behavior of the below piece of code. The NAs are
making it past the logical call ==0. I am sure that I am missing
something. I just don't understand this behavior. Thanks for your
help in advance.
code###
left <-
5 matches
Mail list logo