Skip to content

spsurvey 5.0.0

Compare
Choose a tag to compare
@michaeldumelle michaeldumelle released this 18 Oct 17:46
· 134 commits to main since this release

Major Updates

  • Syntax for the grts() (Generalized Random Tessellation Stratified) and irs() (Independent Random Sampling) functions has been significantly simplified. These functions now require the sampling frame is an sf object.

  • The grts() and irs() functions now accommodate legacy (or historical) sites, a minimum distance between sites, and two approaches for selecting replacement sites (reverse hierarchical ordering and nearest neighbor).

  • Syntax for the analysis functions (*_analysis()) has been significantly simplified.

  • Risk difference analysis is now available using the diffrisk_analysis() function.

  • Trend analysis is now available using the trend_analysis() function.

  • The sp_summary() function is now available to summarize sampling frames, design sites, and analysis data.

  • The sp_plot() function is now available to visualize sampling frames, design sites, and analysis data.

Minor Updates

  • Several functions have undergone minor changes to syntax and scope.

Breaking Changes

  • Several functions have changed (both inputs and outputs) and functions in version 5.0.0 are not always backwards compatible with functions from previous versions. Though we recommend users upgrade existing code to work with the current version's simpler implementations, backwards compatibility can be achieved by downloading previous versions of spsurvey.