This function generates both a random DBN and a dataset that can be used to learn its structure from data. It's intended for experimental use.
generate_random_network_exp(
n_vars,
size,
min_mu,
max_mu,
min_sd,
max_sd,
min_coef,
max_coef,
seed = NULL
)
number of desired variables per time-slice
desired size of the networks
minimum mean allowed for the variables
maximum mean allowed for the variables
minimum standard deviation allowed for the variables
maximum standard deviation allowed for the variables
minimum coefficient allowed for the parent nodes
maximum coefficient allowed for the parent nodes
the seed of the experiment
a dictionary with the original network structure and the sampled dataset