kcmeans
Conditional Expectation Function Estimation with K-Conditional-Means
Description
Implementation of the KCMeans regression estimator studied by Wiemann (2023) <arXiv:2311.17021> for expectation function estimation conditional on categorical variables. Computation leverages the unconditional KMeans implementation in one dimension using dynamic programming algorithm of Wang and Song (2011) <doi:10.32614/RJ-2011-015>, allowing for global solutions in time polynomial in the number of observed categories.
Downloads
232
Last 30 days
21379th
555
Last 90 days
2.2K
Last year
Trend: +64.5% (30d vs prior 30d)
0
Last 30 days
23
Last 90 days
97
Last year
Trend: -100% (30d vs prior 30d)
1
Last 7 days
11
Last 30 days
0
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | NOTE |
| r-devel-linux-x86_64-debian-gcc | NOTE |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (2 non-OK)
CRAN incoming feasibility
Maintainer: ‘Thomas Wiemann <wiemann@uchicago.edu>’ The Description field contains (2023) <arXiv:2311.17021> for expectation function estimation Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
CRAN incoming feasibility
Maintainer: ‘Thomas Wiemann <wiemann@uchicago.edu>’ The Description field contains (2023) <arXiv:2311.17021> for expectation function estimation Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
Check History
NOTE 11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 17, 2026
CRAN incoming feasibility
Maintainer: ‘Thomas Wiemann <wiemann@uchicago.edu>’ The Description field contains (2023) <arXiv:2311.17021> for expectation function estimation Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
CRAN incoming feasibility
Maintainer: ‘Thomas Wiemann <wiemann@uchicago.edu>’ The Description field contains (2023) <arXiv:2311.17021> for expectation function estimation Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
WARNING 10 OK · 2 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE May 10, 2026
CRAN incoming feasibility
Maintainer: ‘Thomas Wiemann <wiemann@uchicago.edu>’ The Description field contains (2023) <arXiv:2311.17021> for expectation function estimation Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
CRAN incoming feasibility
Maintainer: ‘Thomas Wiemann <wiemann@uchicago.edu>’ The Description field contains (2023) <arXiv:2311.17021> for expectation function estimation Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
PDF version of manual
LaTeX errors when creating PDF version. This typically indicates Rd problems. LaTeX errors found:
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
CRAN incoming feasibility
Maintainer: ‘Thomas Wiemann <wiemann@uchicago.edu>’ The Description field contains (2023) <arXiv:2311.17021> for expectation function estimation Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
CRAN incoming feasibility
Maintainer: ‘Thomas Wiemann <wiemann@uchicago.edu>’ The Description field contains (2023) <arXiv:2311.17021> for expectation function estimation Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
Code & tests
Open call graph →Code intelligence has not been computed for this package yet.
Code
Structure
Lines of code
527
Files
16
Compiled share
0%
Has compiled src
No
Language breakdown
API
Exported functions
1
Internal functions
4
Recent export changes
Testing & CI
Has tests
Yes
Test-to-code ratio
0.51
testthat edition
3
CI present
No
CI type
[]
PR gated
No
Docs
Return-value doc rate
100%
\dontrun example ratio
0%
Roxygen coverage
100%
Has pkgdown
No
NEWS present
Yes
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
–
Unsafe pattern score
0
Dep constraint coverage
0%
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
3.6
System requirements
–
C++ standard
–
License
GPL (>= 3)
License flags
SPDX valid, OSI approved
History
Versions
1
First release
2023-11-30
Latest release
2023-11-30
Avg cadence
–
Cold removal rate
–
Dep drift
0
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.
Reverse Dependencies (1)
imports
Dependency Network
Version History
1 trackedR Observatory began tracking this package on Mar 10, 2026; it first appeared on CRAN Nov 30, 2023. Releases before tracking aren’t shown.