Package: psme Version: 1.0.0 Date: 2025-10-06 Title: Penalized Splines Mixed-Effects Models Authors@R: person("Zheyuan", "Li", role = c("aut", "cre"), email = "zheyuan.li@bath.edu", comment = c(ORCID = "0000-0002-7434-5947")) Maintainer: Zheyuan Li Depends: R (>= 4.0.0) Imports: stats, Matrix, methods, mgcv, lme4 Description: 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 visualizaiton. 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. License: GPL-3 NeedsCompilation: no URL: https://github.com/ZheyuanLi/psme Config/pak/sysreqs: cmake make Repository: https://zheyuanli.r-universe.dev Date/Publication: 2025-10-07 10:19:50 UTC RemoteUrl: https://github.com/zheyuanli/psme RemoteRef: HEAD RemoteSha: 583b42a23ce547d0b7ea6d068331b0e151d6e5e2 Packaged: 2026-10-05 09:54:54 UTC; root Author: Zheyuan Li [aut, cre] (ORCID: )