Skip to content

fastlpr

1.0.1

Fast Local Polynomial Regression and Kernel Density Estimation

0packages depend
1.5Kdownloads / year
47.5%test coverage
13/13checks pass

Overview

About
Maintained by Ying WangFirst published 2026-04-211 releasesCRAN page ↗GitHub ↗

Non-Uniform Fast Fourier Transform ('NUFFT')-accelerated local polynomial regression and kernel density estimation for large, scattered, or complex-valued datasets. Provides automatic bandwidth selection via Generalized Cross-Validation (GCV) for regression and Likelihood Cross-Validation (LCV) for density estimation. This is the 'R' port of the 'fastLPR' 'MATLAB'/'Python' toolbox, achieving O(N + M log M) computational complexity through custom 'NUFFT' implementation with Gaussian gridding. Supports 1D/2D/3D data, complex-valued responses, heteroscedastic variance estimation, and confidence interval computation. Performance optimized with vectorized 'R' code and compiled helpers via 'Rcpp'/'RcppArmadillo'. Extends the 'FKreg' toolbox of Wang et al. (2022) doi:10.48550/arXiv.2204.07716 with 'Python' and 'R' ports. Applied in Li et al. (2022) doi:10.1016/j.neuroimage.2022.119190. Uses 'NUFFT' methods based on Greengard and Lee (2004) doi:10.1137/S003614450343200X, binning-accelerated kernel estimation of Wand (1994) doi:10.1080/10618600.1994.10474656, and local polynomial regression framework of Fan and Gijbels (1996, ISBN:978-0412983214).

Install

Health

CRAN checks
13OK
Slowest check: 6.0 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 0.68
47.5%
Coverage · measured lines
100%
Documentation · exports
6
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-25
    11 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-22
    5 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 701 wordsVignettesNopkgdown siteNoNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
50%
Documented parameters
99%
Return-value docs
100%
References docs
6%

Downloads

1.5K
CRAN downloads in the past year
Rank #10,507 · ~4/day · ~128/mo
Daily download trend is not available in this view yet.
23330 days
92490 days
1.5K1 year
Compare downloads with other packages →
Also on116 r2u26 autocran

Repository

Repository
1Stars
0Forks
0Open issues
0Open PRs
1Releases
28Commits
1Contributors
License GPL-3.0 · 28 commits · Last activity 2026-06-15 · 0% stars, 30d

Stars over time

2026-06-25 · 12026-07-07 · 1

Repository practices

Upstream repositoryBeta

Checks run against github.com/rigelfalcon/fastlpr on 2026-08-23.

No development-tooling practices detected in the upstream repository.

How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.2.0
Imports (6)
statsutilsgrDevicesgraphicscompilerRcpp
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Author
Package Timeline

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.1Latest
    2026-04-21 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-04-21
Total releases
1 / 1 yrs
License
GPL-3 OSI
Minimum R
≥ 4.2.0
Download size
150 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("fastlpr")
Wang, Y., & Li, M. (2026). fastlpr: Fast Local Polynomial Regression and Kernel Density Estimation (Version 1.0.1) [Computer software]. https://doi.org/10.32614/CRAN.package.fastlpr

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for fastlpr version 1.0.1 [Data set]. HJJB, LLC. Data release v2026-08-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy