Package: MultiSpline 0.3.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 (marginal and conditional R-squared of Nakagawa and Schielzeth (2013) <doi:10.1111/j.2041-210x.2012.00261.x>, extended to random slopes as in Johnson (2014) <doi:10.1111/2041-210X.12225>, 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. Any 'lme4' random-effects structure can be supplied, and population-averaged (marginal) curves are available for generalized linear mixed models.
Authors:
MultiSpline_0.3.0.tar.gz
MultiSpline_0.3.0.zip(r-4.7-any)MultiSpline_0.3.0.zip(r-4.6-any)MultiSpline_0.3.0.zip(r-4.5-any)
MultiSpline_0.3.0.tgz(r-4.6-any)MultiSpline_0.3.0.tgz(r-4.5-any)
MultiSpline_0.3.0.tar.gz(r-4.7-any)MultiSpline_0.3.0.tar.gz(r-4.6-any)
MultiSpline_0.3.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
MultiSpline/json (API)
| # Install 'MultiSpline' in R: |
| install.packages('MultiSpline', repos = c('https://subirhait.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/subirhait/multispline/issues
Last updated from:2037ddd90d. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 128 | ||
| source / vignettes | OK | 164 | ||
| linux-release | OK | 123 | ||
| macos-release | OK | 78 | ||
| macos-oldrel | OK | 104 | ||
| windows-devel | OK | 81 | ||
| windows-release | OK | 73 | ||
| windows-oldrel | OK | 86 | ||
| wasm-release | OK | 106 |
Exports:nl_comparenl_derivativesnl_fitnl_hetnl_iccnl_knotsnl_plotnl_predictnl_r2nl_summarynl_turning_pointsnl_wald
Dependencies:bootclicpp11dplyrfarvergenericsggplot2gluegtableisobandlabelinglatticelifecyclelme4magrittrMASSMatrixmgcvminqanlmenloptrpillarpkgconfigR6rbibutilsRColorBrewerRcppRcppEigenRdpackreformulasrlangS7scalestibbletidyselectutf8vctrsviridisLitewithr