paar (development version)
- Fixed: in
spca_summary_results, thePropcolumn ofkmspc()was a proportion between 0 and 1 whileAcum. Prop.in the same table was a percentage between 0 and 100.spca_biplot()formatsPropwith a per-cent sign, so the axis labels reported one hundredth of the explained variability, for exampleCS1 (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 fromexplainedVarianceis unaffected, as it already operated on the cumulative percentage. ThePropandAcum. Prop.columns of the classical PCA summary returned byonly_spca_results = FALSEwere 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 unlessall_results = TRUE. With the default argumentspca_resultscame back empty, even thoughonly_spca_results = TRUEis meant to return precisely those results. The spatial PCA summary and the loadings are now always returned. -
kmspc()also returnsscores, 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 akmspc()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 0.0.0.9003
- Now
depuratefunction allows to use MULTIPOLYGON objects. - Build vignette for
kmspcfunction. - Build vignette for
depuratefunction. - New
cbind.paarfunction to bind the condition of one paar object with adata.frameorsfobject. - Changed
summary.paarremoving the print function. - Added
print.summary.paarfunction to print the summary of a paar object. - Fixed check for
kmspcvariables - Typos fixed in errors from
depuratefunction.
