What's for dynr: A package for linear and nonlinear dynamic modeling in R

Research output: Contribution to journalArticlepeer-review

24 Scopus citations


Intensive longitudinal data in the behavioral sciences are often noisy, multivariate in nature, and may involve multiple units undergoing regime switches by showing discontinuities interspersed with continuous dynamics. Despite increasing interest in using linear and nonlinear differential/difference equation models with regime switches, there has been a scarcity of software packages that are fast and freely accessible. We have created an R package called dynr that can handle a broad class of linear and nonlinear discrete-and continuous-time models, with regime-switching properties and linear Gaussian measurement functions, in C, while maintaining simple and easy-tolearn model specification functions in R. We present the mathematical and computational bases used by the dynr R package, and present two illustrative examples to demonstrate the unique features of dynr.

Original languageEnglish (US)
JournalR Journal
Issue number1
StatePublished - Jun 1 2019

All Science Journal Classification (ASJC) codes

  • Statistics and Probability
  • Numerical Analysis
  • Statistics, Probability and Uncertainty


Dive into the research topics of 'What's for dynr: A package for linear and nonlinear dynamic modeling in R'. Together they form a unique fingerprint.

Cite this