Learn R Programming

polykde (version 1.1.7)

Polyspherical Kernel Density Estimation

Description

Kernel density estimation on the polysphere, (hyper)sphere, and circle. Includes functions for density estimation, regression estimation, ridge estimation, bandwidth selection, kernels, samplers, and homogeneity tests. Companion package to García-Portugués and Meilán-Vila (2025) and García-Portugués and Meilán-Vila (2023) .

Copy Link

Version

Install

install.packages('polykde')

Monthly Downloads

167

Version

1.1.7

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Eduardo Portugues

Last Published

July 27th, 2025

Functions in polykde (1.1.7)

euler_ridge

Euler algorithms for polyspherical density ridge estimation
d_mvmf_polysph

Density of the product of von Mises--Fisher distributions on the polysphere
grad_hess_kde_polysph

Gradient and Hessian of the polyspherical kernel density estimator
curv_vmf_polysph

Curvature of a polyspherical von Mises--Fisher density
eff_kern

Polyspherical kernel moments and efficiencies
fib_latt

Fibonacci lattice on the sphere
hammer_to_sph

Map Cartesian coordinates into Hammer projection
kre_polysph

Local polynomial estimator for polyspherical-on-scalar regression
hippocampus

Skeletal representation of hippocampus shapes
kernel

Kernels on the sphere and their derivatives
interp_polysph

Interpolation on the polysphere
index_ridge

Index a ridge curve, creating the Smoothed and Indexed Estimated Ridge (SIER)
polykde-package

polykde: Polyspherical Kernel Density Estimation
kde_polysph

Polyspherical kernel density estimator
polylog_minus_exp_mu

Polylogarithm function with negative argument
log_cv_kde_polysph

Cross-validation for the polyspherical kernel density estimator
softplus

Stable computation of the softplus function
r_vmf_polysph

Sample von Mises--Fisher distributed polyspherical data
r_path_s1r

Samplers of one-dimensional modes of variation for polyspherical data
r_g_kern

Sample from the angular kernel density
r_unif_polysph

Sample uniform polyspherical data
r_kde_polysph

Sample from polyspherical kernel density estimator
hom_test_polysph

Homogeneity test for several polyspherical samples
view_srep

s-rep viewer
proj_polysph

Projection onto the polysphere
proj_grad_kde_polysph

Projected gradient of the polyspherical kernel density estimator
r_kern_polysph

Sample kernel-distributed polyspherical data
r_mvmf_polysph

Sample mixtures of von Mises--Fisher distributed polyspherical data
bw_cv_kre_polysph

Cross-validation bandwidth selection for polyspherical-on-scalar regression
bw_mrot_polysph

Marginal rule-of-thumb bandwidth selection for polyspherical kernel density estimator
angles_to_torus

Conversion between the angular and Cartesian coordinates of the torus
bw_lcv_min_epa

Minimum bandwidth allowed in likelihood cross-validation for Epanechnikov kernels
bw_rot_polysph

Rule-of-thumb bandwidth selection for polyspherical kernel density estimator
comp_ind_dj

Index of spheres on a polysphere
angles_to_polysph

Conversion between the angular and Cartesian coordinates of the polysphere
clean_euler_ridge

Clean ridge points coming from spurious fits
angles_to_sph

Conversion between the angular and Cartesian coordinates of the (hyper)sphere
bw_cv_polysph

Cross-validation bandwidth selection for polyspherical kernel density estimator
d_unif_polysph

Density of the uniform distribution on the polysphere
d_vmf_polysph

Density of the product of von Mises--Fisher distributions on the polysphere
dist_polysph

Polyspherical distance