Package: ridgetorus
Type: Package
Title: PCA on the Torus via Density Ridges
Version: 1.0.3
Date: 2025-07-27
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) 
    <doi:10.1007/s11222-023-10273-9>.
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.2
VignetteBuilder: knitr
Config/testthat/edition: 3
NeedsCompilation: yes
Packaged: 2025-07-27 16:27:44 UTC; Eduardo
Author: Eduardo García-Portugués [aut, cre] (ORCID:
    <https://orcid.org/0000-0002-9224-4111>),
  Arturo Prieto-Tirado [aut] (ORCID:
    <https://orcid.org/0000-0003-0193-2988>)
Maintainer: Eduardo García-Portugués <edgarcia@est-econ.uc3m.es>
Repository: CRAN
Date/Publication: 2025-07-27 17:00:02 UTC
Built: R 4.6.0; aarch64-apple-darwin23; 2026-04-26 10:00:25 UTC; unix
Archs: ridgetorus.so.dSYM
