graphModel.RdObtaining the graphical causal model (GCM)
graphModel(adj.mat, cfd.mat = NULL, res.vars = NULL)Matrix of class matrix encoding the relationships in
the causal graph. M[i,j] == 1L implies the existence of an edge from
node i to node j.
Symmetric matrix of class matrix encoding the
bidirected edges in the causal graph. M[i,j] == M[j, i] == 1L
implies the existence of a bidirected edge between nodes i and j.
A vector of class character listing all the resolving
variables, which should not be changed by the adaption procedure. Default
value is NULL, corresponding to no resolving variables. Resolving
variables should be a subset of colnames(adj.mat). Resolving
variables are marked with a different color in the output.
An object of class igraph, containing the causal graphical,
with directed and bidirected edges.