This method returns the $n \times{} n$ covariance matrix of the Gaussian graphical model where $n$ is the number of random variables in the model. If the gaussianRing was created using a graph, $n$ will be the number of vertices of the graph. If this function is called without a graph $G$, it is assumed that $R$ is the gaussianRing of a directed acyclic graph.
|
|
|
|
|
This function also works for gaussianRings created with a graph or mixedGraph.
|
|
|
|
|
|
The object covarianceMatrix is a method function.