# ------------------------------------------------ # CITATION.cff file created with {cffr} R package # See also: https://docs.ropensci.org/cffr/ # ------------------------------------------------ cff-version: 1.2.0 message: 'To cite package "MultiSpline" in publications use:' type: software license: GPL-3.0-only title: 'MultiSpline: Spline-Based Nonlinear Modeling for Multilevel and Longitudinal Data' version: 0.3.0 doi: 10.32614/CRAN.package.MultiSpline abstract: 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) , extended to random slopes as in Johnson (2014) , 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: - family-names: Hait given-names: Subir email: haitsubi@msu.edu orcid: https://orcid.org/0009-0004-9871-9677 repository: https://subirhait.r-universe.dev repository-code: https://github.com/subirhait/MultiSpline commit: 2037ddd90d8270cbc4998f3fcaf2a5e027350585 url: https://github.com/subirhait/MultiSpline date-released: '2026-10-11' contact: - family-names: Hait given-names: Subir email: haitsubi@msu.edu orcid: https://orcid.org/0009-0004-9871-9677