Facilitate Clinical Trials Analysis Using Natural Cubic Splines
Overview
Create mixed models with repeated measures using natural cubic splines applied to an observed continuous time variable, as described by Donohue et al. (2023) doi:10.1002/pst.2285. Iterate through multiple covariance structure types until one converges. Categorize observed time according to scheduled visits. Perform subgroup analyses.
- Catch novel non-convergence error. Not catching these had made it so that model fitting would just quit because the program thought it was a different kind of error the user had to figure out (e.g., syntax).
- Removed errant time_scheduled_continuous argument in
ncs_mmrm_fit(). - Improved pkgdown site, categorizing functions in the function reference.
- Improved README, basing it on
survival::pbcseqinstead of randomly generated data.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 15
- Examples that run
- 100%13 run in a plain check (3 of them under a condition)
- Exported functions with examples
- 100%
- Documented parameters
- 66%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 0
- Median days to close, 50 most recently updated closed PRs
- 9
Commits over time
9 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/nikkrieger/splinetrials on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-08-10 · The repository has a site deploy workflow
pkgdown site last built 2026-08-10
Show all practicesHide 1 practice
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.1.1Latest
- 0.1.02025-12-18
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2025-12-18
- Total releases
- 2 / 1 yrs
- License
- Apache License (>= 2)
- Download size
- 241 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("splinetrials")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.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.