mgm-internal: Internal glmnet functions

Description Details Author(s)


Internal mgm functions.


These are not intended for use by users.

calc.EBIC calculates the EBIC from the sequence of lambda values in glmnet objects.

node.est Subroutine in mgmfit for neighborhood regression at each node.

potts_parameter Translate provided edge weights in mgmsampler into a paramter matrix. The details are in the help file for mgmsampler.

VARreshape Reshapes data in a lag-1 VAR format.


Jonas Haslbeck

Search within the mgm package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.