Renamed loadings to weights - objects now return
weights, as documented. - same changes in C++ code but no
need of backcompatibility - preserved backward compatibility by
retaining the old function names as deprecated wrappers for the new S3
methods - preserved compatibility with older spca objects containing
loadings-named elements through internal accessors
Converted functions to methods and added new ones -
changed function aggregate_by_group_spca() to method
aggregate_by_group() - changed function
show_contributions_spca() to method
show_weights() - added method
show_correlations() - changed function
change_weights_sign_spca() to method
change_sign() - changed functions
spca_screeplot() and wachter_qqplot() to
methods screeplot_spca() and qqplot_spca() –
first argument changed from eigenvalues to
pca_obj in qqplot_spca(), arguments
n and p changed to n_vars and
n_obs - added the method show_correlations to visualize the
correlations between sPCs and their correlation with the original PCs. -
pca() output takes class c(“spca_pca”, “spca”, “list”).
Other cosmetic changes
spca 1.1.2
fixed cor_with_pcs sign in change_loadings_sign_spca
spca 1.1.1
fixes for release
removed windows only compiler flags
removed references to deceased website
various minor changes
spca 1.1.0
Major changes
Added projection SPCA (method = "pspca"), including a
new C++ implementation.
Added a dedicated C++ backend for fat matrices, where the number of
variables exceeds the number of observations.
Redesigned the C++ tall-matrix engine for improved speed, memory
use, and maintainability.
Refactored the C++ codebase so large objects are passed by reference
where appropriate.
Added try/catch wrappers around the main
C++ entry points to improve error reporting from compiled code.
R interface
Reworked the main spca() interface while preserving the
core LS-SPCA workflow.
Rewrote plot.spca() with improved bar plots, circular
plots, heat maps, grouping support, and plotting controls.
Rewrote new_spca() to make externally computed sparse
loading matrices easier to store and inspect as spca
objects.
Improved printing and summary methods for spca
objects.
Improved comparison tools for multiple sparse PCA fits.
Added or revised helper functions for grouped summaries,
diagnostics, and validation.
Reliability and testing
Added a testthat test suite.
Fixed multiple issues in the R interface and C++ backend.