Checks and converts the (incomplete) Gamma matrix and graph given for a HR graphical model.
check_Gamma_and_graph(Gamma, graph = NULL, graph_type = "general")
A list consisting of
Gamma
The Gamma matrix given as input or implied by the input
graph
The graph given as input or implied by the input
Throws an error if the input is not valid.
A Gamma matrix or vector of entries corresponding to the edges
of graph
A graph object or NULL
if the graph structure is specified by
NA
in the Gamma matrix
Passed to check_graph()
.
Other Input checks:
check_graph()