<html><head></head><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1513248035228_4533"><span id="yui_3_16_0_ym19_1_1513248035228_4665">Hi everyone!</span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1513248035228_4551"><span id="yui_3_16_0_ym19_1_1513248035228_4573">I have a 1D rainfall amounts timeseries. My coordinate is "qualitative", which means that they represent categories. I just separated my data following many classes of rainfall (rr<1mm, 1<=rr<5, 5<=rr<10 ...) and to each category I affect a distinct number (0,1,2,,,...). I would like to process the total for each class of data. I tried to use the <font id="yui_3_16_0_ym19_1_1513248035228_4880" color="#cd232c">where</font> function but it doesn't work. <br></span></div><div id="yui_3_16_0_ym19_1_1513248035228_4896" dir="ltr"><span id="yui_3_16_0_ym19_1_1513248035228_4573">Your help is greatly appreciated. </span></div><div id="yui_3_16_0_ym19_1_1513248035228_4534"> </div><div id="yui_3_16_0_ym19_1_1513248035228_4535" class="signature">-----------------------------<br>GUIGMA</div></div></body></html>