Skip to contents

waywiser (development version)

  • Added a new method to support passing a SpatRaster to data in ww_multi_scale(), with truth and estimate being indices used to subset data. This is a bit faster than passing SpatRaster objects to truth and estimate, as extraction is only done once per grid rather than twice, but does not easily support passing R functions to aggregation_function.

waywiser 0.3.0

CRAN release: 2023-03-19

Breaking Changes

  • Removed combination functions – ww_global_geary, ww_global_moran, ww_local_geary, ww_local_moran, ww_local_getis_ord. Use metric_set() to combine functions instead.

  • Renamed ww_local_getis_ord_pvalue_vec() and variants to ww_local_getis_ord_g_pvalue_vec(); this change allows internal functions to work properly, and makes it easier for the output to indicate if the p-value is associated with a g or g* value.

  • Yardstick metrics will no longer include geometry columns in their returns.

  • The na_action argument to ww_area_of_applicability() has been replaced by na_rm, with a default value of FALSE.

  • na_rm is now TRUE by default for non-spatial-autocorrelation functions. NA values will cause spatial-autocorrelation functions to fail with an error.

New Features

Bug Fixes

  • Rewrote README and moved the old content to a new vignette on assessing the spatial dependency in model residuals.

  • Added a dependency on FNN.

  • Minimum version for dplyr has been bumped to 1.1.0

waywiser 0.2.0

CRAN release: 2022-10-23

  • Added functions for calculating the area of applicability of a model.

waywiser 0.1.0

CRAN release: 2022-08-10

  • Added functions for automatically constructing nb and listw objects

  • Added functions for global and local Geary’s C values.

  • Added functions for local Getis-Ord G and G* values.

  • Added functions for global and local Moran’s I values.

  • Added a file to track changes to the package.