This is the code found in the chapter: Deboeck, P. R. (2011). Modeling Non–Linear Dynamics. In M. R. Mehl & T. S. Conner (Eds.) The Handbook of Research Methods for Studying Daily Life (pp. 440–458). Guilford Press.
This consists of examples from the chapter — use of Generalized Local Derivative Estimates (GOLD) and Latent Differential Equations (LDE) to fit differential equation models.
DailyLifeHandbook.R