Package: ridgetorus Type: Package Title: PCA on the Torus via Density Ridges Version: 1.1.1 Date: 2026-07-25 Authors@R: c( person(given = "Eduardo", family = "García-Portugués", role = c("aut", "cre"), email = "edgarcia@est-econ.uc3m.es", comment = c(ORCID = "0000-0002-9224-4111")), person(given = "Arturo", family = "Prieto-Tirado", role = "aut", comment = c(ORCID = "0000-0003-0193-2988")) ) Description: Implementation of a Principal Component Analysis (PCA) in the torus via density ridge estimation. The main function, ridge_pca(), obtains the relevant density ridge for bivariate sine von Mises and bivariate wrapped Cauchy distribution models and provides the associated scores and variance decomposition. Auxiliary functions for evaluating, fitting, and sampling these models are also provided. The package provides replicability to García-Portugués and Prieto-Tirado (2023) . License: GPL-3 LazyData: true Depends: R (>= 3.5.0), Rcpp Imports: rootSolve, sdetorus, sphunif, circular Suggests: BAMBI, covr, DirStats, GGally, ggplot2, knitr, markdown, mvtnorm, numDeriv, rmarkdown, testthat, viridisLite LinkingTo: Rcpp, RcppArmadillo URL: https://github.com/egarpor/ridgetorus BugReports: https://github.com/egarpor/ridgetorus/issues Encoding: UTF-8 RoxygenNote: 7.3.3 VignetteBuilder: knitr Config/testthat/edition: 3 Config/pak/sysreqs: libgsl0-dev Repository: https://egarpor.r-universe.dev Date/Publication: 2026-07-25 18:03:25 UTC RemoteUrl: https://github.com/egarpor/ridgetorus RemoteRef: HEAD RemoteSha: 36f7df145fb2e1c006103bfa1f43adc694aa67fc NeedsCompilation: yes Packaged: 2026-10-06 11:15:02 UTC; root Author: Eduardo García-Portugués [aut, cre] (ORCID: ), Arturo Prieto-Tirado [aut] (ORCID: ) Maintainer: Eduardo García-Portugués