Package: MultiSpline 0.2.0
MultiSpline: Spline-Based Nonlinear Modeling for Multilevel and Longitudinal Data
Provides a unified framework for fitting, predicting, and interpreting nonlinear relationships in single-level, multilevel, and longitudinal regression models. Flexible functional forms are supported using natural cubic splines ('splines'), B-splines ('splines'), and GAM smooths ('mgcv'). Supports two-way and nested clustering via 'lme4', automatic knot selection by AIC or BIC, multilevel R-squared decomposition (Nakagawa-Schielzeth marginal and conditional R-squared with level-specific variance partitioning), a postestimation suite returning first and second derivatives with confidence bands, turning points and inflection regions, and a model comparison workflow contrasting linear, polynomial, and spline fits by AIC, BIC, and likelihood-ratio tests. Cluster heterogeneity in nonlinear effects is supported via random-slope spline terms.
Authors:
MultiSpline_0.2.0.tar.gz
MultiSpline_0.2.0.zip(r-4.7)MultiSpline_0.2.0.zip(r-4.6)MultiSpline_0.2.0.zip(r-4.5)
MultiSpline_0.2.0.tgz(r-4.6-any)MultiSpline_0.2.0.tgz(r-4.5-any)
MultiSpline_0.2.0.tar.gz(r-4.7-any)MultiSpline_0.2.0.tar.gz(r-4.6-any)
MultiSpline_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
MultiSpline/json (API)
NEWS
| # Install 'MultiSpline' in R: |
| install.packages('MultiSpline', repos = c('https://causalfragility-lab.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/causalfragility-lab/multispline/issues
Last updated from:c2b025e42c. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 125 | ||
| source / vignettes | OK | 182 | ||
| linux-release-x86_64 | OK | 128 | ||
| macos-release-arm64 | OK | 84 | ||
| macos-oldrel-arm64 | OK | 93 | ||
| windows-devel | OK | 76 | ||
| windows-release | OK | 76 | ||
| windows-oldrel | OK | 111 | ||
| wasm-release | OK | 104 |
Exports:nl_comparenl_derivativesnl_fitnl_hetnl_iccnl_knotsnl_plotnl_predictnl_r2nl_summarynl_turning_points
Dependencies:bootclicpp11dplyrfarvergenericsggplot2gluegtableisobandlabelinglatticelifecyclelme4magrittrMASSMatrixmgcvminqanlmenloptrpillarpkgconfigR6rbibutilsRColorBrewerRcppRcppEigenRdpackreformulasrlangS7scalestibbletidyselectutf8vctrsviridisLitewithr
