<div dir="ltr">Hi Glynn,<div><br></div><div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jun 29, 2013 at 9:48 PM, Glynn Clements <span dir="ltr"><<a href="mailto:glynn@gclements.plus.com" target="_blank">glynn@gclements.plus.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im"><br>
<br>
</div>r.statistics2 and r.statistics3 are intended to replace r.statistics.<br>
But those two modules have almost nothing in common. r.statistics2<br>
calculates statistics which are based upon accumulators (i.e. count,<br>
sum of x^n, sum of (x-mean)^n), while r.statistics3 calculates<br>
quantiles.<br>
<br>
If you want a work-alike replacement for r.statistics, it would be<br>
simpler to create a script which just runs r.statistics2 and/or<br>
r.statistics3 to do the work.<br>
<br>
In the event that you want both types of statistics, there could be<br>
some efficiency gains to be had by merging the two, but only at the<br>
cost of creating a module which is noticeably more complex than the<br>
sum of its parts.<br></blockquote><div><br></div><div>Thank you for the explanation! I perfectly agree that it's better to keep a couple of modules instead of a very complex one. But from the user's POV their names at the moment are not very informative. If you consider also r.stats... how could the user guess what's the purpose of them all at the first glance? Perhaps names like r.stats.*, where * is the particular function that they perform, would be a bit easier to understand (?)</div>
<div><br></div><div style>Just my 2 cents</div><div style><br></div><div style>cheers madi</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<span class=""><font color="#888888"><br><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><span style="border-collapse:separate;font-family:'Times New Roman';border-spacing:0px;font-size:medium"><span style="font-family:arial;font-size:small"><div>
<font color="#666666">Best regards,<br><br>Dr. Margherita DI LEO    </font></div><div><span style="color:rgb(102,102,102)">Scientific / technical project officer</span><br></div><div><font color="#666666"><br></font></div>
<div><font color="#666666">European Commission - DG JRC </font></div><div><font color="#666666">Institute for Environment and Sustainability (IES)</font></div><div><font color="#666666">Via Fermi, 2749</font></div><div><font color="#666666">I-21027 Ispra (VA) - Italy - TP 261</font></div>
<div><font color="#666666">       </font></div><div><font color="#666666">Tel. +39 0332 78 3600   </font></div><div><font color="#666666"><a href="mailto:margherita.di-leo@jrc.ec.europa.eu" target="_blank">margherita.di-leo@jrc.ec.europa.eu</a></font></div>
<div><font color="#666666"><br></font></div><div><font color="#666666">Disclaimer: The views expressed are purely those of the writer and may not in any circumstance be regarded as stating an official position of the European Commission.</font></div>
</span></span></div>
</div></div></div>