Learn R Programming

NPCirc (version 3.2.1)

Nonparametric Circular Methods

Description

Nonparametric smoothing methods for density and regression estimation and inference with circular data. The package provides kernel density estimation along with inferential tools such as circular SiZer for feature significance, mode estimation, and modal clustering. It includes multiple methods for selecting the smoothing parameter, allowing users to optimize the trade-off between bias and variance. Various plotting functions help visualize estimated densities, modes, clusters, and significance features. For regression, the package implements nonparametric estimation of the mean regression function as well as other conditional characteristics, including modal regression and generalized regression. Bandwidth selection is also supported in the regression context, and testing procedures are available to assess structural features or effects in circular regression models.

Copy Link

Version

Install

install.packages('NPCirc')

Monthly Downloads

281

Version

3.2.1

License

GPL (>= 2)

Maintainer

Mareda Alonso-Pena

Last Published

February 20th, 2026

Functions in NPCirc (3.2.1)

bw.pi

Plug--in rule
circ.local.lik

Local likelihood estimation for regression with circular covariate
cross.beds1

Cross-beds azimuths (I)
bw.reg.circ.lin

Cross-validation rule for circular regression estimation
bw.rt

Rule of thumb
circsizer.map

CircSiZer map
circsizer.density

CircSiZer map for density
circsizer.regression

CircSiZer map for regression
circ.modes

Estimation of the modal set
cross.beds2

Cross-beds (II)
inclusion.trails

Porphyroblast inclusion trails dataset
cycle.changes

Cycle changes
dwsn

Wrapped skew-Normal density function
kern.dpreg.circ

Joint kernel estimation of mean and dispersion functions in circular double Poisson models
dpreg.circ

Joint parametric estimation of mean and dispersion functions in circular double Poisson models
flywheels

Flywheel measurements
dragonfly

Orientations of dragonflies
dcircmix

Mixtures of circular distributions
kern.reg.circ.lin

Nonparametric regression estimation for circular data
kern.den.circ

Kernel density derivative estimate for circular data
modalreg.circ.lin

Circular multimodal regression estimation
speed.wind

Wind speed and wind direction data
plot.regression.circular

Plot circular regression
periwinkles

Orientations of dragonflies
sandhoppers

Behavioral plasticity of Talitrus saltator and Talorchestia brito
pm10

Pm10 particles in Pontevedra, Spain
noeffect.circ.lin

No-effect test for regression with circular data
modal.clustering

Unsupervised clustering for circular or axial data
temp.wind

Temperature and wind direction data
wind

Wind direction data
lines.regression.circular

Add a plot for circular regression
zebrafish

Zebrafish
spikes

Neuronal spikes in a macaque monkey
NPCirc-package

Nonparametric circular methods.
bw.boot

Bootstrap method
bw.circ.local.lik

Smoothing parameter selection for circular local likelihood regression
bw.joint.dpcirc

Smoothing parameter selection for circular double Poisson regression
bw.modalreg.circ.lin

Smoothing parameter selection for circular multimdodal regression
NPCirc-internal

Internal NPCirc Functions
bw.CV

Cross-validation for density estimation
bw.AA

Direct and solve-the-equation plug-in rule
HumanMotorResonance

Human motor resonance data
ancova.circ.lin

Nonparametric analysis of covariance tests for circular regression