Learn R Programming

dynr (version 0.1.8-17)

Dynamic Modeling in R

Description

Dynamic modeling of all kinds in R. These include models of processes in discrete time or continuous time. They also include processes that are linear or nonlinear. Latent variables can be continuous (e.g. state space models) or discrete (e.g. regime-switching models). The general approach involves maximum likelihood estimation of single- and multi-subject models of latent time series with the extended Kalman filter and Kim filter. The user provides recipes and data which are combined into a model that is then cooked to obtain free parameter estimates.

Copy Link

Version

Install

install.packages('dynr')

Monthly Downloads

901

Version

0.1.8-17

License

Apache License (== 2.0)

Maintainer

Lu Ou

Last Published

January 9th, 2017

Functions in dynr (0.1.8-17)

dynr.plotFreq

Plot of the estimated frequencies of the regimes across all individuals and time points based on their smoothed regime probabilities
dynr.ldl

LDL Decomposition for Matrices
dynr.ggplot

The ggplot of the smoothed state estimates and the most likely regimes
dynr.cook

Cook a dynr model to estimate its free parameters
dynr.model

dynrCook-class

The dynrCook Class
dynr.data

coef.dynrCook

Extract fitted parameters from a dynrCook Object
dynr-package

\Sexpr[results=rd,stage=build]{tools:::Rd_package_title("#1")}dynrDynamic Modeling in R
diag,character-method

Create a diagonal matrix from a character vector
dynrTrans-class

The dynrTrans Class
dynrRegimes-class

The dynrRegimes Class
EMG

Single-subject time series of facial electromyography data
dynrModel-class

The dynrModel Class
dynrRecipe-class

The dynrRecipe Class
dynrNoise-class

The dynrNoise Class
dynrMeasurement-class

The dynrMeasurement Class
dynrDynamics-class

The dynrDynamics Class
dynrInitial-class

The dynrInitial Class
EMGsim

Simulated single-subject time series to capture features of facial electromyography data
plotFormula

Plot the formula from a model
PPsim

Simulated time series data for multiple eco-systems based on a predator-and-prey model
prep.tfun

Create a dynrTrans object to handle the transformations and inverse transformations of model paramters
prep.regimes

Recipe function for creating regime switching (Markov transition) functions
plot,dynrCook-method

Plot method for dynrCook objects
summary,dynrCook-method

Get the summary of a dynrCook object
vcov.dynrCook

Extract the Variance-Covariance Matrix of a dynrCook object
NonlinearDFAsim

Simulated multi-subject time series based on a dynamic factor analysis model with nonlinear relations at the latent level
prep.formulaDynamics

Recipe function for specifying dynamic functions using formulas
prep.initial

Recipe function for preparing the initial conditions for the model.
prep.measurement

Prepare the measurement recipe
prep.noise

Recipe function for specifying the measurement error and process noise covariance structures
internalModelPrep

Do internal model preparation for dynr
printex

The printex Method
logLik.dynrCook

Extract the log likelihood from a dynrCook Object
RSPPsim

Simulated time series data for multiple eco-systems based on a regime-switching predator-and-prey model
prep.matrixDynamics

Recipe function for creating Linear Dynamcis using matrices
prep.loadings

Recipe function to quickly create factor loadings