[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: statistics functions and NA
From: |
Jordi Gutiérrez Hermoso |
Subject: |
Re: statistics functions and NA |
Date: |
Tue, 20 Mar 2012 16:08:11 -0400 |
On 20 March 2012 15:54, marco atzeri <address@hidden> wrote:
> On 3/20/2012 7:03 PM, CdeMills wrote:
>> R as a specific parameter in this case, na.rm which,, when true,
>> means to skip over NA values. What do you think about adding such
>> behaviour to mean, std, val and similar ?
> you are probably looking for the NaN package
>
> http://octave.sourceforge.net/nan/index.html
Except, as previously flamed, those functions *overwrite* the Octave
functions. If you think you might still want NaNs in order to indicate
a problematic computation, you can also use nanmean, nanstd, and
similar, from the stats package.
- Jordi G. H.