[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #40668] -NA is inconsistent with other operati
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #40668] -NA is inconsistent with other operations on NA |
Date: |
Tue, 15 Aug 2017 19:36:58 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 |
Follow-up Comment #11, bug #40668 (project octave):
The R manual I downloaded has
NA is a logical constant of length 1 which contains a missing value
indicator.
NA can be coerced to any other vector type except raw. There are also
constants
NA_integer_, NA_real_, NA_complex_ and NA_character_ of the other atomic
vector
types which support missing values: all of these are reserved words in the R
language.
I searched for 'is represented by', but couldn't find anything. My motivation
was partly to pick off an easy bug, although I like the idea of NA as being
more explicit than NaN about Not Available.
Matlab isn't particularly known for their statistics package, and likewise
Octave. If we wanted too we could outsource statistics functions to their
library and thereby get some very high quality code. In that case, it might
be nice to support NA.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?40668>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/