Skip to content

dynr

Dynamic Models with Regime-Switching

v0.1.16-114 · Sep 2, 2025 · GPL-3

Description

Intensive longitudinal data have become increasingly prevalent in various scientific disciplines. Many such data sets are noisy, multivariate, and multi-subject in nature. The change functions may also be continuous, or continuous but interspersed with periods of discontinuities (i.e., showing regime switches). The package 'dynr' (Dynamic Modeling in R) is an R package that implements a set of computationally efficient algorithms for handling a broad class of linear and nonlinear discrete- and continuous-time models with regime-switching properties under the constraint of linear Gaussian measurement functions. The discrete-time models can generally take on the form of a state-space or difference equation model. The continuous-time models are generally expressed as a set of ordinary or stochastic differential equations. All estimation and computations are performed in C, but users are provided with the option to specify the model of interest via a set of simple and easy-to-learn model specification functions in R. Model fitting can be performed using single-subject time series data or multiple-subject longitudinal data. Ou, Hunter, & Chow (2019) <doi:10.32614%2FRJ-2019-012> provided a detailed introduction to the interface and more information on the algorithms.

Downloads

1.1K

Last 30 days

3596th

3.8K

Last 90 days

15.6K

Last year

Trend: -22.9% (30d vs prior 30d)

CRAN Check Status

3 NOTE
11 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (3 non-OK)
NOTE r-oldrel-macos-arm64

installed package size

installed size is  8.0Mb
  sub-directories of 1Mb or more:
    data   2.5Mb
    doc    1.4Mb
    libs   2.9Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  8.6Mb
  sub-directories of 1Mb or more:
    data   2.5Mb
    doc    1.4Mb
    libs   3.5Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  5.6Mb
  sub-directories of 1Mb or more:
    data   2.5Mb
    doc    1.4Mb

Check History

NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  8.0Mb
  sub-directories of 1Mb or more:
    data   2.5Mb
    doc    1.4Mb
    libs   2.9Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  8.6Mb
  sub-directories of 1Mb or more:
    data   2.5Mb
    doc    1.4Mb
    libs   3.5Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  5.6Mb
  sub-directories of 1Mb or more:
    data   2.5Mb
    doc    1.4Mb

Reverse Dependencies (3)

imports

suggests

Dependency Network

Dependencies Reverse dependencies ggplot2 MASS Matrix numDeriv xtable latex2exp reshape2 plyr mice magrittr fda car stringi tibble deSolve +1 more dependencies bootStateSpace cTMed simStateSpace dynr

Version History

new 0.1.16-114 Mar 10, 2026
updated 0.1.16-114 ← 0.1.16-105 diff Sep 1, 2025
updated 0.1.16-105 ← 0.1.16-91 diff Nov 27, 2023
updated 0.1.16-91 ← 0.1.16-27 diff Oct 16, 2022
updated 0.1.16-27 ← 0.1.16-2 diff Nov 17, 2021
updated 0.1.16-2 ← 0.1.15-95 diff Mar 15, 2021
updated 0.1.15-95 ← 0.1.15-25 diff Feb 19, 2021
updated 0.1.15-25 ← 0.1.15-1 diff Feb 10, 2020
updated 0.1.15-1 ← 0.1.14-85 diff Oct 4, 2019
updated 0.1.14-85 ← 0.1.14-9 diff Sep 12, 2019
updated 0.1.14-9 ← 0.1.13-4 diff Apr 1, 2019
updated 0.1.13-4 ← 0.1.13-3 diff Sep 23, 2018
updated 0.1.13-3 ← 0.1.13-2 diff Sep 15, 2018
updated 0.1.13-2 ← 0.1.12-5 diff Sep 14, 2018
updated 0.1.12-5 ← 0.1.11-8 diff Feb 7, 2018
updated 0.1.11-8 ← 0.1.11-2 diff Aug 20, 2017
updated 0.1.11-2 ← 0.1.10-10 diff Jun 16, 2017
updated 0.1.10-10 ← 0.1.9-20 diff May 20, 2017
updated 0.1.9-20 ← 0.1.8-17 diff Feb 23, 2017
updated 0.1.8-17 ← 0.1.7 diff Jan 8, 2017