psme
Penalized Splines Mixed-Effects Models
Fit penalized splines mixed-effects models (a special case of additive models) for large longitudinal datasets. The package includes a psme() function that (1) relies on package 'mgcv' for constructing population and subject smooth functions as penalized splines, (2) transforms the constructed additive model to a linear mixed-effects model, (3) exploits package 'lme4' for model estimation and (4) backtransforms the estimated linear mixed-effects model to the additive model for interpretation and visualization. See Pedersen et al. (2019) <doi:10.7717/peerj.6876> and Bates et al. (2015) <doi:10.18637/jss.v067.i01> for an introduction. Unlike the gamm() function in 'mgcv', the psme() function is fast and memory-efficient, able to handle datasets with millions of observations.
Versions across snapshots
| Version | Repository | File | Size |
|---|---|---|---|
1.0.0 |
rolling linux/jammy R-4.5 | psme_1.0.0.tar.gz |
33.5 KiB |
1.0.0 |
rolling linux/noble R-4.5 | psme_1.0.0.tar.gz |
33.3 KiB |
1.0.0 |
rolling source/ R- | psme_1.0.0.tar.gz |
6.1 KiB |
1.0.0 |
latest linux/jammy R-4.5 | psme_1.0.0.tar.gz |
33.5 KiB |
1.0.0 |
latest linux/noble R-4.5 | psme_1.0.0.tar.gz |
33.3 KiB |
1.0.0 |
latest source/ R- | psme_1.0.0.tar.gz |
6.1 KiB |
1.0.0 |
2026-04-26 source/ R- | psme_1.0.0.tar.gz |
6.1 KiB |
1.0.0 |
2026-04-23 source/ R- | psme_1.0.0.tar.gz |
6.1 KiB |
1.0.0 |
2026-04-09 windows/windows R-4.5 | psme_1.0.0.zip |
35.9 KiB |