Højsgaard, S. . “Graphical Independence Networks With the GRain Package for R”. Journal of Statistical Software, vol. 46, no. 10, Feb. 2012, pp. 1-26, doi:10.18637/jss.v046.i10.