# mgm

[![CRAN
Version](http://www.r-pkg.org/badges/version/mgm)](https://cran.r-project.org/package=mgm)
[![Downloads](https://cranlogs.r-pkg.org/badges/mgm)](https://cran.r-project.org/package=mgm)

The package includes functions to estimate, visualize and resample time-varying k-order Mixed Graphical Models (MGMs) and mixed Vector Autoregressive (mVAR) models.


Here is a paper describing the package: https://arxiv.org/abs/1510.06871

And here are a couple of blog posts about some functions: https://jmbh.github.io/


The developmental version can be installed from within R using the devtools-package:

library(devtools)
install_github("jmbh/mgm")
