{
  "_id": "6ad9cb0f992ad85420b5ff23",
  "Package": "ridgetorus",
  "Type": "Package",
  "Title": "PCA on the Torus via Density Ridges",
  "Version": "1.1.0",
  "Date": "2026-07-24",
  "Authors@R": "c(\nperson(given = \"Eduardo\", family = \"García-Portugués\",\nrole = c(\"aut\", \"cre\"), email = \"edgarcia@est-econ.uc3m.es\",\ncomment = c(ORCID = \"0000-0002-9224-4111\")),\nperson(given = \"Arturo\", family = \"Prieto-Tirado\", role = \"aut\",\ncomment = c(ORCID = \"0000-0003-0193-2988\"))\n)",
  "Description": "Implementation of a Principal Component Analysis (PCA) in\nthe torus via density ridge estimation. The main function,\nridge_pca(), obtains the relevant density ridge for bivariate\nsine von Mises and bivariate wrapped Cauchy distribution models\nand provides the associated scores and variance decomposition.\nAuxiliary functions for evaluating, fitting, and sampling these\nmodels are also provided. The package provides replicability to\nGarcía-Portugués and Prieto-Tirado (2023)\n<doi:10.1007/s11222-023-10273-9>.",
  "License": "GPL-3",
  "LazyData": "true",
  "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",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-22 08:28:43 UTC",
    "User": "root"
  },
  "Author": "Eduardo García-Portugués [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-9224-4111>), Arturo Prieto-Tirado\n[aut] (ORCID: <https://orcid.org/0000-0003-0193-2988>)",
  "Maintainer": "Eduardo García-Portugués <edgarcia@est-econ.uc3m.es>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-07-24 14:40:02 UTC",
  "RemoteUrl": "https://github.com/cran/ridgetorus",
  "RemoteRef": "HEAD",
  "RemoteSha": "d0a15bf7cdae4598c16bdf51b0e4c48815f2029d",
  "_user": "cran",
  "_type": "src",
  "_file": "ridgetorus_1.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/d45a951367991daf2598b844565cee692bc4a1369f2ba5d9dfc7d7d54c135572",
  "_filesize": 1825557,
  "_sha256": "d45a951367991daf2598b844565cee692bc4a1369f2ba5d9dfc7d7d54c135572",
  "_expires": "2027-01-30T08:36:29.000Z",
  "_created": "2026-10-22T08:28:43.000Z",
  "_published": "2026-10-22T08:36:31.231Z",
  "_upstream": "https://github.com/cran/ridgetorus",
  "_status": "success",
  "_maintainer": {
    "name": "Eduardo García-Portugués",
    "email": "edgarcia@est-econ.uc3m.es",
    "orcid": "0000-0002-9224-4111"
  },
  "_jobs": [
    {
      "job": 119721536857,
      "time": 302,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12413140815"
    },
    {
      "job": 119721536930,
      "time": 235,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12411958110"
    },
    {
      "job": 119721536996,
      "time": 268,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12412816345"
    },
    {
      "job": 119721536895,
      "time": 286,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12412317757"
    },
    {
      "job": 119719404352,
      "time": 306,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12412077610"
    },
    {
      "job": 119721536751,
      "time": 129,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12412063304"
    },
    {
      "job": 119721536868,
      "time": 372,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12412766294"
    },
    {
      "job": 119721536802,
      "time": 388,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12411923671"
    },
    {
      "job": 119721536874,
      "time": 334,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12412152749"
    },
    {
      "job": 119721536894,
      "time": 396,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12411983543"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/39747415963",
  "_commit": {
    "id": "d0a15bf7cdae4598c16bdf51b0e4c48815f2029d",
    "author": "Eduardo García-Portugués <edgarcia@est-econ.uc3m.es>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.1.0\n",
    "time": 1784904002
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "rootSolve",
      "role": "Imports"
    },
    {
      "package": "sdetorus",
      "role": "Imports"
    },
    {
      "package": "sphunif",
      "role": "Imports"
    },
    {
      "package": "circular",
      "role": "Imports"
    },
    {
      "package": "BAMBI",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "DirStats",
      "role": "Suggests"
    },
    {
      "package": "GGally",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "markdown",
      "role": "Suggests"
    },
    {
      "package": "mvtnorm",
      "role": "Suggests"
    },
    {
      "package": "numDeriv",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "viridisLite",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-30",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.1.0",
      "date": "2026-07-24"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 344,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ridgetorus"
  },
  "_devurl": "https://github.com/egarpor/ridgetorus",
  "_searchresults": 11,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/ridgetorus.html"
  ],
  "_homeurl": "https://github.com/egarpor/ridgetorus",
  "_realowner": "egarpor",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2022-12-23"
    },
    {
      "version": "1.0.1",
      "date": "2023-01-14"
    },
    {
      "version": "1.0.2",
      "date": "2023-08-28"
    },
    {
      "version": "1.0.3",
      "date": "2025-08-01"
    },
    {
      "version": "1.1.0",
      "date": "2026-07-24"
    }
  ],
  "_exports": [
    "arclength_ridge_curve",
    "biv_lrt",
    "const_bvm",
    "d_bvm",
    "d_bwc",
    "d_bwn",
    "der_ridge_curve",
    "dist_ridge_curve",
    "fit_bvm_mle",
    "fit_bvm_mm",
    "fit_bwc_mle",
    "fit_bwc_mm",
    "fit_bwn_mle",
    "frechet_mean",
    "frechet_ss",
    "max_score_2",
    "proj_ridge_curve",
    "r_bvm",
    "r_bwc",
    "r_bwn",
    "ridge_bvm",
    "ridge_bwc",
    "ridge_bwn",
    "ridge_curve",
    "ridge_fourier_fit",
    "ridge_pca",
    "ridge_scores",
    "show_ridge_pca",
    "torus_dist",
    "torus_pairs"
  ],
  "_datasets": [
    {
      "name": "earthquakes",
      "title": "Japanese earthquakes dataset",
      "object": "earthquakes",
      "class": [
        "data.frame"
      ],
      "fields": [
        "theta1",
        "theta2"
      ],
      "rows": 678,
      "table": true,
      "tojson": true
    },
    {
      "name": "santabarbara",
      "title": "Santa Barbara currents",
      "object": "santabarbara",
      "class": [
        "data.frame"
      ],
      "fields": [
        "A",
        "B",
        "C",
        "D"
      ],
      "rows": 1092,
      "table": true,
      "tojson": true
    },
    {
      "name": "wind",
      "title": "Texas wind dataset",
      "object": "wind",
      "class": [
        "data.frame"
      ],
      "fields": [
        "theta1",
        "theta2"
      ],
      "rows": 30,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "ridgetorus-package",
      "title": "'ridgetorus': PCA on the Torus via Density Ridges",
      "topics": [
        "ridgetorus-package",
        "ridgetorus"
      ]
    },
    {
      "page": "biv_lrt",
      "title": "Tests of homogeneity and independence in bivariate sine von Mises and wrapped Cauchy distributions",
      "topics": [
        "biv_lrt"
      ]
    },
    {
      "page": "bvm",
      "title": "Density evaluation, sampling, and parameter estimation of the bivariate sine von Mises distribution",
      "topics": [
        "bvm",
        "const_bvm",
        "d_bvm",
        "fit_bvm_mle",
        "fit_bvm_mm",
        "r_bvm"
      ]
    },
    {
      "page": "bwc",
      "title": "Density evaluation, sampling, and parameter estimation of the bivariate wrapped Cauchy distribution",
      "topics": [
        "bwc",
        "d_bwc",
        "fit_bwc_mle",
        "fit_bwc_mm",
        "r_bwc"
      ]
    },
    {
      "page": "bwn",
      "title": "Density evaluation, sampling, and parameter estimation of the bivariate wrapped normal distribution",
      "topics": [
        "bwn",
        "d_bwn",
        "fit_bwn_mle",
        "r_bwn"
      ]
    },
    {
      "page": "earthquakes",
      "title": "Japanese earthquakes dataset",
      "topics": [
        "earthquakes"
      ]
    },
    {
      "page": "frechet",
      "title": "Fréchet statistics on the torus",
      "topics": [
        "frechet",
        "frechet_mean",
        "frechet_ss"
      ]
    },
    {
      "page": "ridge_curve",
      "title": "Fourier-fitted ridge curve and related utilities",
      "topics": [
        "arclength_ridge_curve",
        "der_ridge_curve",
        "dist_ridge_curve",
        "proj_ridge_curve",
        "ridge_curve"
      ]
    },
    {
      "page": "ridge_distr",
      "title": "Connected component of the toroidal density ridge of a bivariate sine von Mises, bivariate wrapped Cauchy, and bivariate wrapped normal",
      "topics": [
        "ridge_bvm",
        "ridge_bwc",
        "ridge_bwn",
        "ridge_distr"
      ]
    },
    {
      "page": "ridge_fourier_fit",
      "title": "Fourier expansion of a given curve",
      "topics": [
        "ridge_fourier_fit"
      ]
    },
    {
      "page": "ridge_pca",
      "title": "Toroidal PCA via density ridges",
      "topics": [
        "ridge_pca"
      ]
    },
    {
      "page": "ridge_scores",
      "title": "Scores and scales for Fourier-fitted ridge curves",
      "topics": [
        "max_score_2",
        "ridge_scores"
      ]
    },
    {
      "page": "santabarbara",
      "title": "Santa Barbara currents",
      "topics": [
        "santabarbara"
      ]
    },
    {
      "page": "show_ridge_pca",
      "title": "Illustration of toroidal PCA via density ridges",
      "topics": [
        "show_ridge_pca"
      ]
    },
    {
      "page": "torus_dist",
      "title": "Toroidal distances",
      "topics": [
        "torus_dist"
      ]
    },
    {
      "page": "torus_pairs",
      "title": "Toroidal pairs plot",
      "topics": [
        "torus_pairs"
      ]
    },
    {
      "page": "wind",
      "title": "Texas wind dataset",
      "topics": [
        "wind"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/ridgetorus/raw/HEAD/man/figures/logo.png",
  "_rundeps": [
    "boot",
    "circular",
    "codetools",
    "digest",
    "doFuture",
    "doRNG",
    "foreach",
    "future",
    "future.apply",
    "globals",
    "gsl",
    "iterators",
    "listenv",
    "mvtnorm",
    "parallelly",
    "Rcpp",
    "RcppArmadillo",
    "rngtools",
    "rootSolve",
    "rotasym",
    "sdetorus",
    "sphunif"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "ridgetorus.Rmd",
      "filename": "ridgetorus.html",
      "title": "ridgetorus: PCA on the Torus via Density Ridges",
      "author": "Eduardo García-Portugués and Arturo Prieto-Tirado",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Texan wind",
        "Japanese earthquakes",
        "References"
      ],
      "created": "2022-12-23 18:10:08",
      "modified": "2023-08-28 01:29:25",
      "commits": 2
    }
  ],
  "_score": 2.0413926851582254,
  "_indexed": false,
  "_nocasepkg": "ridgetorus",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://egarpor.r-universe.dev/ridgetorus",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-10-22T08:31:27.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "d0a15bf7cdae4598c16bdf51b0e4c48815f2029d",
      "fileid": "https://r2.ropensci.org/37b3960b4edf963e87c1c1a84591330b43b14ef16ae2f0ada91b5e7681801ec8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39747415963"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-10-22T08:31:19.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "d0a15bf7cdae4598c16bdf51b0e4c48815f2029d",
      "fileid": "https://r2.ropensci.org/cf11ae7c0d9d5be31c51da2a40918fe942f4586ebeff7785976715d948799a47",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39747415963"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-10-22T08:30:56.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "d0a15bf7cdae4598c16bdf51b0e4c48815f2029d",
      "fileid": "https://r2.ropensci.org/4e2d07a69e707c2b89f53930b09d91c7c6df9a77eb3a78ec07e1d246671a028b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39747415963"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-10-22T08:31:13.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "d0a15bf7cdae4598c16bdf51b0e4c48815f2029d",
      "fileid": "https://r2.ropensci.org/4dac2568d5addcc07c44af6b7179c4a201ee55987cf6584f6c14a9a297ee7b99",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39747415963"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0",
      "date": "2026-10-22T08:31:15.000Z",
      "arch": "emscripten",
      "commit": "d0a15bf7cdae4598c16bdf51b0e4c48815f2029d",
      "fileid": "https://r2.ropensci.org/c19235e3f8c3116c77a81cabf76081db9ec442c018477de753318afe818208c5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39747415963"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-10-22T08:32:37.000Z",
      "arch": "aarch64",
      "commit": "d0a15bf7cdae4598c16bdf51b0e4c48815f2029d",
      "fileid": "https://r2.ropensci.org/c5b3b4808e8353bd1a2763834cd56a5d71ca470f19bf344ec3df09bd767cc204",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39747415963"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-10-22T08:30:31.000Z",
      "arch": "x86_64",
      "commit": "d0a15bf7cdae4598c16bdf51b0e4c48815f2029d",
      "fileid": "https://r2.ropensci.org/33ef5b1252d83bb674b942ed4e215dcf29cb2cc5680ca841ce5e1926e651a665",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39747415963"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-10-22T08:32:05.000Z",
      "arch": "aarch64",
      "commit": "d0a15bf7cdae4598c16bdf51b0e4c48815f2029d",
      "fileid": "https://r2.ropensci.org/345aeb5773b2343a6ab3c8622c804afaeeffb144487602e5002e455f23ab82dc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39747415963"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-10-22T08:30:28.000Z",
      "arch": "x86_64",
      "commit": "d0a15bf7cdae4598c16bdf51b0e4c48815f2029d",
      "fileid": "https://r2.ropensci.org/677afe5ae50aab399a9e788aed482aa6a3d776bc28e5497e1d14a1e5d97c1cfd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39747415963"
    }
  ]
}