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.

Documentation

Manual: dynr.pdf
Vignette: Installation for Users

Maintainer: Michael D. Hunter <mhunter.ou at gmail.com>

Author(s): Lu Ou*, Michael D. Hunter*, Sy-Miin Chow*

Install package and any missing dependencies by running this line in your R console:

install.packages("dynr")

Depends R (>= 3.0.0), methods, ggplot2
Imports MASS, Matrix, numDeriv, xtable, latex2exp, grid, reshape2, plyr, mice, magrittr
Suggests testthat, roxygen2(>=3.1)
Enhances
Linking to
Reverse
depends
Reverse
imports
Reverse
suggests
Reverse
enhances
Reverse
linking to

Package dynr
Materials
URL
Task Views TimeSeries
Version 0.1.11-2
Published 2017-06-17
License Apache License (== 2.0)
BugReports
SystemRequirements GNU make
NeedsCompilation yes
Citation
CRAN checks dynr check results
Package source dynr_0.1.11-2.tar.gz