check_partial_matrix_and_graph {graphicalExtremes} | R Documentation |
Check input graph and partial matrix
Description
Checks and converts the partial matrix and graph given for a HR graphical model.
Usage
check_partial_matrix_and_graph(M, graph = NULL, graph_type = "general")
Arguments
M |
A partial matrix or a vector of entries corresponding to the edges of |
graph |
A graph object or |
graph_type |
Passed to |
Value
A list consisting of
matrix |
The 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.
See Also
Other input validation functions:
checkGamma()
,
check_graph()
,
ensure_matrix_symmetry()
[Package graphicalExtremes version 0.3.4 Index]