generator_param | R Documentation |
Generate simulation parameters from a graph adjacency matrix
generator_param(G, signed = FALSE, v = 0.01)
G |
adjacency matrix |
signed |
boolean: should the graph be composed of positive and negative partial correlations ? |
v |
parameter controlling the noise on the precision matrix |
a list containing
sigma: the covariance matrix
omega: the precision matrix
lambda: the constant that was needed to load the diagonal of omega and ensure its positive definiteness
G<-generator_graph(p=10,graph="tree")
generator_param(G=G)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.