Skip to content

dynr

0.1.16-114Package record

Dynamic Models with Regime-Switching

1packages dependsuggested by 2
12.6Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

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.

Install

Health

CRAN checks
13OK
Slowest check: 6.5 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK13 OK2026-05-02
Show 2 earlier changesHide 2 earlier changes
  • ERROR11 OK, 1 ERROR2026-04-25
  • NOTE11 OK, 3 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.1.16-114
READMEYes · 414 wordsVignettesYes · 5 · dynamicNEWSYes · 100% structured · does not mention 0.1.16-114Citation fileYes · cites a publicationWebsiteYes
Help pages
65includes a package overview page
Examples that run
63%19 run in a plain check · 10 never run · 1 hold no code
Exported functions with examples
33%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
15% with a bibliography file

Also includes 14 demo scripts (run with demo())

Downloads

12.6K
CRAN downloads in the past year
Rank #4,443 · ~35/day · ~1.1K/mo
Daily download trend is not available in this view yet.
75630 days
1.9K90 days
12.6K1 year
Compare downloads with other packages →
Also on1.2K r2u201 c2d4u

Repository

7Stars
6Forks
52Open issues
0Open PRs
0Releases
1,530Commits
26Commit identities
1,530 commits · Last activity 2025-07-28 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
8
Median days to close, 50 most recently updated closed PRs
498

Stars over time

2025-10-09 · 72026-07-07 · 7
PracticesBeta

1 development-tooling and community-health practice detected across 1 family in the upstream repository

Checks run against github.com/mhunter1/dynr on 2026-10-21.

Reproducibility and dev environment (1)
Makefile
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
19 external dependencies (excludes base and recommended)

Installing dynr adds 104 packages (60 with compiled code, 82 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, doBy 4.3 MB.

Depends (2)
R >= 3.0.0ggplot2
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Suggested by 2
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (13)
Author, Maintainer since 0.1.10-10 (2017)
Author · added in 0.1.15-25
Author · added in 0.1.15-25
Author · added in 0.1.15-25
Author · added in 0.1.15-25
Author · added in 0.1.15-25
Author
Author · added in 0.1.15-25
Copyright holder · added in 0.1.16-2
Copyright holder · added in 0.1.16-2
Copyright holder · added in 0.1.16-2
Copyright holder · added in 0.1.16-2

Previously maintained by Lu Ou (0.1.7 to 0.1.9-20).

Listed in earlier versions (1)
Michael D.
no longer listed · 0.1.7 to 0.1.16-114
Releases (20)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.16-114Latest
    record
    2025-09-02 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.1.16-105
    record
    2023-11-28 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.1.16-91
    record
    2022-10-17 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • unarchivedReturned to CRAN
    2021-11-18
  • 0.1.16-27
    record
    2021-11-18 · diff ↗
  • archivedRemoved from CRAN
    2021-11-05
    check problems were not corrected in time
  • R
    R 4.1.0 released · 2021-05-18
  • unarchivedReturned to CRAN
    2021-03-16
  • 0.1.16-2
    record
    2021-03-16 · diff ↗
  • archivedRemoved from CRAN
    2021-03-07
    check problems were not corrected in time
  • 0.1.15-95
    record
    2021-02-20 · diff ↗
Show 23 earlier eventsHide 23 earlier events
  • R
    R 4.0.0 released · 2020-04-24
  • 0.1.15-25
    record
    2020-02-11 · diff ↗
  • 0.1.15-1
    record
    2019-10-05 · diff ↗ ·
    added 3 exports
    plotGCV, getdx, theta_plot
  • unarchivedReturned to CRAN
    2019-09-13
  • 0.1.14-85
    record
    2019-09-13 · diff ↗
  • archivedRemoved from CRAN
    2019-09-08
    policy violation Leaves a directory in '/tmp', via biber
  • R
    R 3.6.0 released · 2019-04-26
  • unarchivedReturned to CRAN
    2019-04-02
  • 0.1.14-9
    record
    2019-04-02 · diff ↗
  • archivedRemoved from CRAN
    2019-03-11
    policy violation Missing autoconf sources
  • 0.1.13-4
    record
    2018-09-24 · diff ↗
  • 0.1.13-3
    record
    2018-09-16 · diff ↗
  • 0.1.13-2
    record
    2018-09-15 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.1.12-5
    record
    2018-02-08 · diff ↗
  • 0.1.11-8
    record
    2017-08-21 · diff ↗
  • 0.1.11-2
    record
    2017-06-17 · diff ↗
  • 0.1.10-10
    record
    2017-05-21 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 0.1.9-20
    record
    2017-02-24 · diff ↗ ·
    removed 2 exports
    plot, summary
    added 1 export
    `coef<-`
  • 0.1.8-17
    record
    2017-01-09 · diff ↗
  • 0.1.7
    record
    2016-06-09
  • R
    R 3.3.0 released · 2016-05-03

Package metadata

First published
2016-06-09
Total releases
20 / 10 yrs
License
GPL-3 OSI · relicensed from Apache License (== 2.0) in 0.1.13-2
Minimum R
≥ 3.0.0
Bundled data
2.1 MB / 14 files
Download size
4.1 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("dynr")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for dynr version 0.1.16-114 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy