This function generates different weight matrices for two external covariates, \(W\). There are several types:
fullAll graphs are fully connected with weight 1
glassoAll graphs are disconnected with weight 0. This mimics the GLASSO, where each graph is estimated independently
gridA weight matrix for a \(k \times l\) grid
uniform-randomFully-connected, but the entries are drawn from a uniform distribution
Usage
create_weight_matrix(
type = c("full", "glasso", "grid", "uniform-random"),
k,
l,
plot = FALSE
)