{
  "_id": "6a116773acfb0bcc41cf12fa",
  "Package": "ridgetorus",
  "Type": "Package",
  "Title": "PCA on the Torus via Density Ridges",
  "Version": "1.0.3",
  "Date": "2025-07-27",
  "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.2",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-23 08:32:16 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": "2025-07-27 17:39:42 UTC",
  "RemoteUrl": "https://github.com/cran/ridgetorus",
  "RemoteRef": "HEAD",
  "RemoteSha": "4603314c791d6dd3287eb98ea3ef581f95911a41",
  "MD5sum": "2ad319af994ece3136fed42fb6b07215",
  "_user": "cran",
  "_type": "src",
  "_file": "ridgetorus_1.0.3.tar.gz",
  "_fileid": "63fa3c3a8ecc5872103d36c383a62a7e5ec54199a0a1f11a88f74e79ac074d3f",
  "_filesize": 1709912,
  "_sha256": "63fa3c3a8ecc5872103d36c383a62a7e5ec54199a0a1f11a88f74e79ac074d3f",
  "_created": "2026-05-23T08:32:16.000Z",
  "_published": "2026-05-23T08:38:11.614Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77509614243,
      "time": 305,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7175681509"
    },
    {
      "job": 77509614244,
      "time": 293,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7175680424"
    },
    {
      "job": 77509614241,
      "time": 305,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175681396"
    },
    {
      "job": 77509614235,
      "time": 300,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175681008"
    },
    {
      "job": 77509402895,
      "time": 247,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175655342"
    },
    {
      "job": 77509614223,
      "time": 153,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175668905"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26328114265",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/ridgetorus",
  "_commit": {
    "id": "4603314c791d6dd3287eb98ea3ef581f95911a41",
    "author": "Eduardo García-Portugués <edgarcia@est-econ.uc3m.es>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.3\n",
    "time": 1753637982
  },
  "_maintainer": {
    "name": "Eduardo García-Portugués",
    "email": "edgarcia@est-econ.uc3m.es",
    "orcid": "0000-0002-9224-4111"
  },
  "_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": "2025-30",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.0.3",
      "date": "2025-07-27"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 196,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ridgetorus"
  },
  "_devurl": "https://github.com/egarpor/ridgetorus",
  "_searchresults": 9,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/ridgetorus.html",
    "manual.pdf"
  ],
  "_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"
    }
  ],
  "_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"
      ]
    }
  ],
  "_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.26+ds-1ubuntu0.1",
      "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.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "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,
  "_indexed": false,
  "_nocasepkg": "ridgetorus",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://egarpor.r-universe.dev/ridgetorus",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-05-23T08:34:52.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "4603314c791d6dd3287eb98ea3ef581f95911a41",
      "fileid": "b2a22cc6126f00ca26d1692cdc04b64b14391aa671d331e92a119615bc67a017",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26328114265"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-05-23T08:34:57.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "4603314c791d6dd3287eb98ea3ef581f95911a41",
      "fileid": "f142cfcd196a78a0eacab0c47ba2efd1594ce4fb4e4881483cc6e8446782125a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26328114265"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-05-23T08:34:52.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "4603314c791d6dd3287eb98ea3ef581f95911a41",
      "fileid": "4f81deafa528ddd03ea853a2a1001fc9d82f56dead958b5daa2c7d73d00b3100",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26328114265"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-05-23T08:34:58.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "4603314c791d6dd3287eb98ea3ef581f95911a41",
      "fileid": "7c8f73cc69dc151de8c021c57c98f3db2d4ec0ae0d6f818d77a2b37674b91140",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26328114265"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.3",
      "date": "2026-05-23T08:35:09.000Z",
      "arch": "emscripten",
      "commit": "4603314c791d6dd3287eb98ea3ef581f95911a41",
      "fileid": "6633a5d1e473973989a20409491bb4d0ccbe9ed478f2ec50d8195069a67c8de7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26328114265"
    }
  ]
}