r3.univar.html 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <h2>DESCRIPTION</h2>
  2. <em>r3.univar</em> calculates the univariate statistics for raster3d maps.
  3. This includes the number of cells counted, minimum and maximum cell values,
  4. range, arithmetic mean, population variance, standard deviation, and
  5. coefficient of variation. Statistics are calculated separately for every
  6. category/zone found in the <b>zones</b> input map if given.
  7. If the <b>-e</b> extended statistics flag is given the 1st quartile, median,
  8. 3rd quartile, and given <b>percentile</b> are calculated.
  9. If the <b>-g</b> flag is given the results are presented in a format suitable
  10. for use in a shell script.
  11. If the <b>-t</b> flag is given the results are presented in tabular format
  12. with the given field separator. The table can immediately be converted to a
  13. vector attribute table which can then be linked to a vector, e.g. the vector
  14. that was rasterized to create the <b>zones</b> input raster.
  15. <h2>NOTES</h2>
  16. As with most GRASS raster3d modules, <em>r3.univar</em> operates on the voxel
  17. array defined by the current 3d region settings, not the original extent and
  18. resolution of the input map. See <em><a href="g.region.html">g.region</a></em>.
  19. <p>
  20. This module can use large amounts of system memory when the <b>-e</b>
  21. extended statistics flag is used with a very large region setting. If the
  22. region is too large the module should exit gracefully with a memory allocation
  23. error. Basic statistics can be calculated using any size input region.
  24. <!-- no rast3D support?
  25. <p>
  26. The <em>r.quantile</em> module will be significantly more efficient for
  27. calculating percentiles with large maps.
  28. -->
  29. <h2>TODO</h2>
  30. <i>mode, skewness, kurtosis</i>
  31. <h2>SEE ALSO</h2>
  32. <em>
  33. <a href="g.region.html">g.region</a>,
  34. <a href="r.univar.html">r.univar</a>,
  35. <a href="r.mode.html">r.mode</a>,
  36. <a href="r.quantile.html">r.quantile</a>,
  37. <a href="r.series.html">r.series</a>,
  38. <a href="r3.stats.html">r3.stats</a>,
  39. <a href="r.statistics.html">r.statistics</a>,
  40. <a href="v.rast.stats.html">v.rast.stats</a>,
  41. <a href="v.univar.html">v.univar</a>
  42. </em>
  43. <h2>AUTHORS</h2>
  44. Soeren Gebbert<br>
  45. Code is based on r.univar from<br>
  46. Hamish Bowman, Otago University, New Zealand<br>
  47. and Martin Landa<br>
  48. Zonal loop by Markus Metz
  49. <p><i>Last changed: $Date$</i>