covarianceMatrix R
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.
The source of this document is in /build/reproducible-path/macaulay2-1.25.06+ds/M2/Macaulay2/packages/GraphicalModels.m2:2323:0.