Skip to contents

paar (development version)

  • Fixed: in spca_summary_results, the Prop column of kmspc() was a proportion between 0 and 1 while Acum. Prop. in the same table was a percentage between 0 and 100. spca_biplot() formats Prop with a per-cent sign, so the axis labels reported one hundredth of the explained variability, for example CS1 (0.5%) where the axis actually explains 50.6%. Both columns are now percentages. The denominator is the total inertia of the analysis rather than the number of retained eigenvalues, which differ when the data matrix is rank deficient. The selection of components from explainedVariance is unaffected, as it already operated on the cumulative percentage. The Prop and Acum. Prop. columns of the classical PCA summary returned by only_spca_results = FALSE were also proportions and are now percentages, so that both tables can be read side by side.
  • Fixed: kmspc() computed the spatial PCA results but discarded them unless all_results = TRUE. With the default arguments pca_results came back empty, even though only_spca_results = TRUE is meant to return precisely those results. The spatial PCA summary and the loadings are now always returned.
  • kmspc() also returns scores, the site coordinates on the retained spatial components. These are the values the clustering step operates on and were previously computed but not exposed.
  • New spca_biplot(), which draws a biplot of the spatial PCA from a kmspc() result, optionally colouring the sites by one of the computed classifications.

paar 1.0.2

CRAN release: 2026-03-19

  • Help pages were revised for clarity, consistency, and improved user guidance #21
  • Now Summary index is calculated correctly.
  • PCA results can be obtained within kmspc function.
  • Factor recoding.

paar 1.0.1

CRAN release: 2024-07-30

  • Addresses CRAN comments.

paar 1.0.0

  • Prepare for CRAN submission.

paar 0.0.0.9003

  • Now depurate function allows to use MULTIPOLYGON objects.
  • Build vignette for kmspc function.
  • Build vignette for depurate function.
  • New cbind.paar function to bind the condition of one paar object with a data.frame or sf object.
  • Changed summary.paar removing the print function.
  • Added print.summary.paar function to print the summary of a paar object.
  • Fixed check for kmspc variables
  • Typos fixed in errors from depurate function.

paar 0.0.0.9002

  • Several changes were made.

paar 0.0.0.9001

  • Several bugs were fixed.

paar 0.0.0.9000

  • Added a NEWS.md file to track changes to the package.