Recent Releases of geothinner
geothinner - GeoThinneR 2.0.0
Breaking changes. This version is backward-incompatible with earlier versions of GeoThinneR.
Major changes
- Introduced a new
GeoThinnedS3 class to represent thinning results. All calls tothin_points()now return aGeoThinnedobject instead of a list of logical vectors or data frames. - Added new helper methods for
GeoThinnedobjects:print()andsummary()for inspection.plot()for visual comparison of thinned vs. original data.largest()to retrieve the trial with the most retained points.largest_index()to get the index of the best trial.get_trial()to access specific trials.
- Redesigned
thin_points()to return structured output and provide a more consistent user interface. - Output structure and behavior of all thinning methods has been updated for compatibility with the new object-oriented design.
- We have improved the thinning algorithms by implementing two new modifications of the kd-tree method: local kd-trees (
local_kd_tree) and restricted search (k_estimation). - The round and hashing method (
round_hash) now is deprecated and has been removed from the package because of presenting lower accuracy than the other distance-based methods. - The thinning method argument
methodnow includes the three main thinning strategies implemented in GeoThinneR for better understanding and usability. These are: "distance", "grid", and "precision". - The
search_typeargument has been included for distance-based thinning (method = "distance") to select between the search algorithms ("brute", "kdtree", "localkdtree", and "kestimation"). - The
nargument for the grid-based thinning (method = "grid") now lets you specify the number of points to retain per grid cell.
Minor changes
- The
long_colargument now is calledlon_colfor consistency with thelat_colargument. - The default column names (
lon_colandlat_col) have been changed from "decimalLongitude" and "decimalLatitude" to "lon" and "lat". - Improved documentation, error messages, and reproducibility behavior across all functions.
- Updated the package vignette to reflect all changes.
- R
Published by jmestret about 1 year ago
geothinner - GeoThinneR 1.1.0
- Removed non-CRAN dependency (
rtree) and associated functions related to R-Trees structure thinning method (r_tree_thinning()). - Minor improvements to documentation.
- R
Published by jmestret over 1 year ago