Closed baddstats closed 3 years ago
This is a continuation of issue spatstat/spatstat/#128 which was raised for the original spatstat package, but now affects spatstat.geom.
The original poster argued that our code for weighted.median was incorrect.
weighted.median
However the issue is really that there are multiple definitions of the weighted median (as there are for the unweighted median).
We are now interpreting this as a feature request to implement other definitions of the weighted median.
The functions weighted.median and weighted.quantile now offer a choice of 3 algorithms (in spatstat.geom 2.3-0.001 and later)
weighted.quantile
spatstat.geom 2.3-0.001
This is a continuation of issue spatstat/spatstat/#128 which was raised for the original spatstat package, but now affects spatstat.geom.
The original poster argued that our code for
weighted.median
was incorrect.However the issue is really that there are multiple definitions of the weighted median (as there are for the unweighted median).
We are now interpreting this as a feature request to implement other definitions of the weighted median.