To cite mgm in publications use:

Haslbeck JMB, Waldorp LJ (2020). “mgm: Estimating Time-Varying Mixed Graphical Models in High-Dimensional Data.” Journal of Statistical Software, 93(8), 1–46. doi:10.18637/jss.v093.i08.

Corresponding BibTeX entry:

  @Article{,
    title = {{mgm}: Estimating Time-Varying Mixed Graphical Models in
      High-Dimensional Data},
    author = {Jonas M. B. Haslbeck and Lourens J. Waldorp},
    journal = {Journal of Statistical Software},
    year = {2020},
    volume = {93},
    number = {8},
    pages = {1--46},
    doi = {10.18637/jss.v093.i08},
  }