A package for discrete and Gaussian statistical graphical models