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) and Bates et al. (2015) 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.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("psme")

1.0.0 by Zheyuan Li, a year ago


https://github.com/ZheyuanLi/psme


Browse source code at https://github.com/cran/psme


Authors: Zheyuan Li [aut, cre]


Documentation:   PDF Manual  


GPL-3 license


Imports stats, Matrix, methods, mgcv, lme4


See at CRAN