View source: R/LatentForests.R

Creates a covariance matrix for the latent forest model where edge correlations are given. Here edge correlations are given as a vector and correspond (in order) to the edges returned by this$getAllEdges().

1 | ```
getCovMat(this, edgeCorrelations)
``` |

`this` |
the LatentForests object. |

`edgeCorrelations` |
the edge correlations in a numeric vector. |

Lucaweihs/sBIC documentation built on June 3, 2017, 3:34 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.