library(clusterGeneration)
# A MVN Network Simulated with --------------------------
num.vars <- 15
num.obs <- 1000
## Mean 0 data from a random MVN covariance matrix
net <- simGaussianNet(num.vars, c(.5, 1.5), "melancon")
## Data simulated directly from the Bayesian network.
boot <- rbn(hairy, n = num.obs) %>%
boot.strength(R = 500, m = nrow(hairy.data),
algorithm = "hc",
algorithm.args = list(score = "bic-g"))
melancon.boot <- list(truth = net, boot = boot)
save(melancon.boot, file = "data/melancon_boot.Rdata")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.