Description Usage Arguments Details Value Examples
View source: R/sparsebn-main.R
Methods for inferring (i) Covariance matrices and (ii) Precision matrices for continuous, Gaussian data.
1 2 3 |
data |
data as |
... |
(optional) additional parameters to |
For Gaussian data, the precision matrix corresponds to an undirected graphical model for the distribution. This undirected graph can be tied to the corresponding directed graphical model; see Sections 2.1 and 2.2 (equation (6)) of Aragam and Zhou (2015) for more details.
Solution path as a plain list
. Each component is a Matrix
corresponding to an estimate of the covariance or precision (inverse covariance) matrix for a
given value of lambda.
1 2 3 4 | data(cytometryContinuous)
dat <- sparsebnData(cytometryContinuous$data, type = "c", ivn = cytometryContinuous$ivn)
estimate.covariance(dat) # estimate covariance
estimate.precision(dat) # estimate precision
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.