R/causal_inference_helpers.R
random_search.Rd
Produces a random DAG with random sparsity with as many variables as the number of columns in the dataset dat.
dat
random_search(dat)
Numeric matrix. Dataset matrix with n rows (observations) and p columns (variables).
n
p
Square binary matrix. A random DAG.