Skip to content

locfit

1.5-9.12Package record

Local Regression, Likelihood and Density Estimation

20packages dependsuggested by 11
1.1Mdownloads / year
–test coverage
10/13flavors OK

Overview

About

Local regression, likelihood and density estimation methods as described in the 1999 book by Loader.

Install

Health

CRAN checks
3WARNING10OK
Check messages
WARNINGwhether package can be installedr-oldrel-macos-x86_64, r-release-macos-arm64, r-release-macos-x86_64

r-oldrel-macos-x86_64

Found the following significant warnings:
  density.c:60:11: warning: passing arguments to 'simpsonm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  density.c:284:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  ev_atree.c:151:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  ev_kdtre.c:206:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  ev_kdtre.c:215:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  ev_kdtre.c:246:13: warning: a function declaration without a prototype is deprecated in a
...[truncated]...
hout a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  simul.c:42:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  startlf.c:163:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  weight.c:236:22: warning: passing arguments to 'Rf_lgammafn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  weight.c:237:29: warning: passing arguments to 'Rf_lgammafn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
See ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.5/locfit.Rcheck/00install.out’ for details.
* used C compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
* used SDK: ‘MacOSX11.3.sdk’

r-release-macos-arm64

Found the following significant warnings:
  density.c:60:11: warning: passing arguments to 'simpsonm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  density.c:284:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  ev_atree.c:151:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  ev_main.c:92:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  ev_kdtre.c:206:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  ev_main.c:112:12: warning: passing arguments to a function without a prototype is deprecate
...[truncated]...
n without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  simul.c:42:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  startlf.c:163:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  weight.c:236:22: warning: passing arguments to 'Rf_lgammafn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  weight.c:237:29: warning: passing arguments to 'Rf_lgammafn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
See ‘/Volumes/Builds/packages/sonoma-arm64/results/4.6/locfit.Rcheck/00install.out’ for details.
* used C compiler: ‘Apple clang version 17.0.0 (clang-1700.3.19.1)’
* used SDK: ‘MacOSX14.5.sdk’

r-release-macos-x86_64

Found the following significant warnings:
  density.c:60:11: warning: passing arguments to 'simpsonm' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  density.c:284:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  ev_atree.c:151:14: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  ev_kdtre.c:206:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  ev_kdtre.c:215:35: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  ev_kdtre.c:246:13: warning: a function declaration without a prototype is deprecated in a
...[truncated]...
ut a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  simul.c:42:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  startlf.c:163:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  weight.c:236:22: warning: passing arguments to 'Rf_lgammafn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  weight.c:237:29: warning: passing arguments to 'Rf_lgammafn' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
See ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.6/locfit.Rcheck/00install.out’ for details.
* used C compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
* used SDK: ‘MacOSX11.3.1.sdk’

CRAN check page ↗

Slowest check: 3.4 min · r-devel-windows-x86_64
Status changes
  • WARNING10 OK, 3 WARNINGNow
  • WARNING11 OK, 3 WARNING2026-03-10
Advisories

none known

Documentation

In release 1.5-9.12
READMEYes · 37 wordsVignettesNoNEWSYes · 67% structuredCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
105 (2 internal)
Examples that run
94%33 run in a plain check · 2 never run
Exported functions with examples
56%
Documented parameters
89%
Return-value docs
56%
Help pages citing references
35%

Downloads

1.1M
CRAN downloads in the past year
Rank #299 · ~3.1K/day · ~95.7K/mo
Daily download trend is not available in this view yet.
131.7K30 days
378.8K90 days
1.1M1 year
Compare downloads with other packages →
Also on31.8K r2u100 autocran298.8K conda_forge27.6K bioconda723 c2d4u

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)

Installing locfit adds no packages beyond those that come with R.

Depends (1)
R >= 4.1.0
Imports (1)
lattice
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
20direct
186indirect
Depends 5 · Imports 15
Suggested by 11
Show all 31 packagesHide all 31 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (4)
Maintainer · added in 1.5-9.4
Author · added in 1.1
Contributor · added in 1.5-9.4
Copyright holder · added in 1.5-9.4

Maintainer since 1.1-1 (2002), previously Catherine Loader (1.1)

Listed in earlier versions (1)
Clive Loader
no longer listed · 1.00 to 19980714-2
Releases (32)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • R
    R 3.1.0 released · 2014-04-10
  • R
    R 3.0.0 released · 2013-04-03
  • R
    R 2.15.0 released · 2012-03-30
  • R
    R 2.14.0 released · 2011-10-31
Show 51 earlier eventsHide 51 earlier events
  • R
    R 2.13.0 released · 2011-04-13
  • R
    R 2.12.0 released · 2010-10-15
  • R
    R 2.11.0 released · 2010-04-22
  • R
    R 2.10.0 released · 2009-10-26
  • R
    R 2.9.0 released · 2009-04-17
  • R
    R 2.8.0 released · 2008-10-20
  • R
    R 2.7.0 released · 2008-04-22
  • R
    R 2.6.0 released · 2007-10-03
  • R
    R 2.5.0 released · 2007-04-24
  • R
    R 2.4.0 released · 2006-10-03
  • R
    R 2.3.0 released · 2006-04-24
  • R
    R 2.2.0 released · 2005-10-06
  • R
    R 2.1.0 released · 2005-04-18
  • R
    R 2.0.0 released · 2004-10-04
  • R
    R 1.9.0 released · 2004-04-12
  • R
    R 1.8.0 released · 2003-10-08
  • R
    R 1.7.0 released · 2003-04-16
  • R
    R 1.6.0 released · 2002-10-01
  • R
    R 1.5.0 released · 2002-04-29
  • 19980714-2Latest
    record
    1999-04-10 · current release · diff ↗ ·
    removed 55 exports
    aic, aicplot, ang, cp, cpar, cpplot, crit, crit<-, dat, density.lf, expit, gam.lf, gam.slist, gcv, gcvplot, hatmatrix, kappa0, kdeb, km.mrl, lcv, lcvplot, left, lf, lfeval, lfgrid, lfknots, lflim, lfmarg, locfit, locfit.censor and 25 more
  • 1.5-9.12
    record
    2025-03-05 · diff ↗
  • 1.5-9.11
    record
    2025-02-03 · diff ↗
  • 1.5-9.10
    record
    2024-06-24 · diff ↗
  • 1.5-9.9
    record
    2024-03-01 · diff ↗
  • 1.5-9.8
    record
    2023-06-11 · diff ↗
  • 1.5-9.7
    record
    2023-01-02 · diff ↗
  • 1.5-9.6
    record
    2022-07-11 · diff ↗
  • 1.5-9.5
    record
    2022-03-03 · diff ↗
  • 1.5-9.4
    record
    2020-03-25 · diff ↗
  • 1.5-9.2
    record
    2020-03-23 · diff ↗ ·
    added 55 exports
    aic, aicplot, ang, cp, cpar, cpplot, crit, crit<-, dat, density.lf, expit, gam.lf, gam.slist, gcv, gcvplot, hatmatrix, kappa0, kdeb, km.mrl, lcv, lcvplot, left, lf, lfeval, lfgrid, lfknots, lflim, lfmarg, locfit, locfit.censor and 25 more
  • 1.5-9.1
    record
    2013-04-20 · diff ↗
  • 1.5-9
    record
    2013-03-22 · diff ↗ ·
    removed 1 export
    lfbas
  • 1.5-8
    record
    2012-04-25 · diff ↗
  • 1.5-7
    record
    2012-03-25 · diff ↗ ·
    added 56 exports
    aic, aicplot, ang, cp, cpar, cpplot, crit, crit<-, dat, density.lf, expit, gam.lf, gam.slist, gcv, gcvplot, hatmatrix, kappa0, kdeb, km.mrl, lcv, lcvplot, left, lf, lfbas, lfeval, lfgrid, lfknots, lflim, lfmarg, locfit and 26 more
  • 1.5-6
    record
    2010-01-21 · diff ↗
  • 1.5-5
    record
    2010-01-07 · diff ↗
  • 1.5-4
    record
    2007-11-27 · diff ↗
  • 1.5-3
    record
    2006-04-09 · diff ↗
  • 1.5-2
    record
    2005-11-18 · diff ↗
  • 1.1-11
    record
    2005-09-22 · diff ↗
  • 1.1-9
    record
    2004-09-14 · diff ↗
  • 1.1-8
    record
    2004-03-17 · diff ↗
  • 1.1-7
    record
    2004-02-03 · diff ↗
  • 1.1-6
    record
    2003-09-19 · diff ↗
  • 1.1-5
    record
    2003-04-10 · diff ↗
  • 1.1-4
    record
    2003-04-10 · diff ↗
  • 1.1-3
    record
    2003-03-23 · diff ↗
  • 1.1-1
    record
    2003-03-06 · diff ↗
  • 1.1
    record
    2001-08-04 · diff ↗
  • 1.0-1
    record
    2000-12-19 · diff ↗
  • 1.00
    record
    2000-02-17

Package metadata

First published
1999-04-10
Total releases
32 / 27 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 4.1.0
Bundled data
45 KB / 26 files
Download size
202 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("locfit")
Liaw, A., Lucent Technologies, Loader, C., & Sun, J. (2025). locfit: Local Regression, Likelihood and Density Estimation (Version 1.5-9.12) [Computer software]. https://doi.org/10.32614/CRAN.package.locfit

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 locfit version 1.5-9.12 [Data set]. HJJB, LLC. Data release v2026-10-17. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-17, 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