nadir
0.0.1Super Learning with Flexible Formulas
Overview
A functional programming based implementation of the super learner algorithm with an emphasis on supporting the use of formulas to specify learners. This approach offers several improvements compared to past implementations including the ability to easily use random-effects specified in formulas (like y ~ (age | strata) + ...) and construction of new learners is as simple as writing and passing a new function. The super learner algorithm was originally described in van der Laan et al. (2007) https://biostats.bepress.com/ucbbiostat/paper222/.
Install
Health
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 100%
- Return-value docs
- 98%
- References docs
- 0%
Downloads
Repository
Stars over time
Forks over time
Issues over time
Repository practices
3 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/ctesta01/nadir on 2026-07-19.
Dependencies
Nothing depends on this yet.
Code & Tests
- Cyclomatic complexity
- 3.0 median / 35 max
- Test cases
- 12 / 0.14 per code line
Test coverage
Line coverage
41%
Expression
41.8%
Tests / Examples
40.9% / 77% ex
Functions
51 40 exported
Complexity
4.2 avg / 35 max
Call network
51 nodes / 13 edges
Call graph
Open call graph →Lowest coverage
51 functions| Function | Cyclo | Coverage |
|---|---|---|
| add_screener exp | 3 | 0% |
| compare_learners exp | 4 | 0% |
| cv_character_and_factors_schema exp | 16 | 0% |
| cv_super_learner exp | 5 | 0% |
| df_to_survival_stacked exp | 8 | 0% |
| lnr_glm_density exp | 2 | 0% |
People & History
1 release. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 0.0.1Latest2026-03-10 · current release
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2026-02-20
- Total releases
- 1 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.2.0
- Download size
- 1.4 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet