Hi All,
I'm trying to average a bunch of values which may or may not contain NaN values. If there are NaN's, I want to drop them from the average. In other words, if we have: [ 4 6 NaN 2 ] we would drop the NaN and now we'd have: [ 4 6 2 ] and then we'd average those to get '4'. I believe this would require two things not in RRDtool: the ability to drop a value from the stack if *UNKNOWN* and the ability to count the number of values on the stack. Any of you RPN gurus know how to accomplish this? thx, Chris -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
