Learn R Programming

graphicalExtremes (version 0.2.0)

check_Gamma_and_graph: Check input graph and Gamma matrix

Description

Checks and converts the (incomplete) Gamma matrix and graph given for a HR graphical model.

Usage

check_Gamma_and_graph(Gamma, graph = NULL, graph_type = "general")

Value

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.

Arguments

Gamma

A Gamma matrix or vector of entries corresponding to the edges of graph

graph

A graph object or NULL if the graph structure is specified by NA in the Gamma matrix

graph_type

Passed to check_graph().

See Also

Other Input checks: check_graph()