polykde

Kernel density estimation on the polysphere, hypersphere, and circle. Includes functions for density estimation, regression estimation, ridge estimation, bandwidth selection, kernels, samplers, and homogeneity tests

https://github.com/egarpor/polykde

Science Score: 39.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 6 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.7%) to scientific vocabulary

Keywords

circular-statistics directional-statistics kernel-smoothing r
Last synced: 9 months ago · JSON representation

Repository

Kernel density estimation on the polysphere, hypersphere, and circle. Includes functions for density estimation, regression estimation, ridge estimation, bandwidth selection, kernels, samplers, and homogeneity tests

Basic Info
  • Host: GitHub
  • Owner: egarpor
  • License: gpl-3.0
  • Language: R
  • Default Branch: main
  • Homepage:
  • Size: 4.39 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
circular-statistics directional-statistics kernel-smoothing r
Created over 1 year ago · Last pushed 11 months ago
Metadata Files
Readme Changelog License

README.Rmd

---
output:
  md_document:
    variant: gfm
---

```{r, echo = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE, comment = "#>", fig.path = "README/README-",
  message = FALSE, warning = FALSE, fig.asp = 1, fig.align = 'center'
)
```

polykde
=======

```{r, badges, echo = FALSE, results = 'asis'}
cat(
  badger::badge_license(license = "GPLv3", color = "blue",
                        url = "https://www.gnu.org/licenses/gpl-3.0"),
  badger::badge_github_actions(action = "R-CMD-check"),
  badger::badge_github_actions(action = "test-coverage"),
  badger::badge_codecov(),
  badger::badge_cran_release(color = "green"),
  badger::badge_cran_download(pkg = NULL, type = "grand-total"),
  badger::badge_cran_download(pkg = NULL, type = "last-month")
)
```

## Overview

Companion package for the article *Kernel density estimation with polyspherical data and its applications* (García-Portugués and Meilán-Vila, 2025).

## Replicability

The folder `/replication` contains the scripts to replicate the numerical experiments and real data application of the paper and its Supplementary Material (SM):

* The script `kde-sims.R` reproduces the asymptotic normality experiment (Figures 5--8 in the SM).
* The script `kde-effic.R` computes the kernel efficiency table (Table 1 in the SM) and the kernel and kernel efficiency graphs (Figure 1 in the paper).
* The scripts `jsd-sims-k2-S2.R`, `jsd-sims-hippo.R`, and `jsd-sims-k3-S10^2.R` reproduce two simulation experiments for the $k$-sample test in (Figures 9--12 in the SM).
* The scripts `kde-spoke-dirs.R` and `test-spoke-dirs.R` reproduce the real data application on the hippocampus shape analysis (Figure 3 in the paper and Figure 13 in the SM, and Figure 4 in the paper, respectively).

## References

García-Portugués, E. and Meilán-Vila, A. (2025). Kernel density estimation with polyspherical data and its applications. *Journal of the American Statistical Association*, to appear. [doi:10.1080/01621459.2025.2521898](https://doi.org/10.1080/01621459.2025.2521898).

García-Portugués, E. and Meilán-Vila, A. (2023). Hippocampus shape analysis via skeletal models and kernel smoothing. In Larriba, Y. (Ed.), *Statistical Methods at the Forefront of Biomedical Advances*, pp. 63--82. Springer, Cham. [doi:10.1007/978-3-031-32729-2_4](https://doi.org/10.1007/978-3-031-32729-2_4).

Owner

  • Name: Eduardo García-Portugués
  • Login: egarpor
  • Kind: user
  • Location: Madrid
  • Company: Carlos III University of Madrid

GitHub Events

Total
  • Issue comment event: 1
  • Public event: 1
  • Push event: 59
  • Pull request event: 6
  • Create event: 2
Last Year
  • Issue comment event: 1
  • Public event: 1
  • Push event: 59
  • Pull request event: 6
  • Create event: 2

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 24
  • Total Committers: 1
  • Avg Commits per committer: 24.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 24
  • Committers: 1
  • Avg Commits per committer: 24.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Eduardo García-Portugués e****r 24

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 0
  • Total pull requests: 7
  • Average time to close issues: N/A
  • Average time to close pull requests: 9 days
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.86
  • Merged pull requests: 7
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 7
  • Average time to close issues: N/A
  • Average time to close pull requests: 9 days
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.86
  • Merged pull requests: 7
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • egarpor (6)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 246 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 4
  • Total maintainers: 1
cran.r-project.org: polykde

Polyspherical Kernel Density Estimation

  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 246 Last month
Rankings
Dependent packages count: 27.2%
Dependent repos count: 33.5%
Average: 49.2%
Downloads: 87.0%
Maintainers (1)
Last synced: 10 months ago

Dependencies

DESCRIPTION cran
  • Rcpp >= 1.0.8.3 imports
  • RcppProgress * imports
  • abind * imports
  • doFuture * imports
  • foreach * imports
  • future * imports
  • gsl * imports
  • movMF * imports
  • progressr * imports
  • rotasym * imports
  • sphunif * imports
  • DirStats * suggests
  • FixedPoint * suggests
  • alphashape3d * suggests
  • ks * suggests
  • manipulate * suggests
  • numDeriv * suggests
  • optimParallel * suggests
  • rgl * suggests
  • scatterplot3d * suggests
  • sdetorus * suggests
  • smacof * suggests
  • testthat * suggests
  • viridis * suggests
.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v4 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/test-coverage.yaml actions
  • actions/checkout v4 composite
  • actions/upload-artifact v4 composite
  • codecov/codecov-action v4 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite