Mohammadi, A. and Dobra, A. (2017). The R Package BDgraph for Bayesian Structure Learning in Graphical Models, ISBA Bulletin, 24(4):11-16
Dobra, A. and Mohammadi, R. (2018). Loglinear Model Selection and Human Mobility, Annals of Applied Statistics, 12(2):815-845, tools:::Rd_expr_doi("10.1214/18-AOAS1164")
# Generating multivariate binary data from a 'random' graphdata.sim <- bdgraph.sim(n = 12, p = 4, size = 4, type = "binary")
r_data <- data.sim$data
r_data
# Transfer the datatransfer(r_data)