View source: R/gr_HRMnetwork.R
HRMBG | R Documentation |
HRMBG
It creates an object with two slots: $graph
containing the graph and $depParams
containing
the edge weights which are initialized with zero values.
It is intended to be used for estimation of edge weights of models on block graphs.
Consult Vignettes "Code - Note 5" and "Estimation - Note 5".
HRMBG(g)
g |
must be an |
Object of class HRMBG
with two slots: $graph
containing the graph and $depParams
containing the edge weights corresponding to the dependence parameters. Ig the graph which is passed
in the argument has named edges these names are kept, if the edges are not named,
they are given names "e1", "e2", etc.
if the graph
g<- graph(c("a","b", "b","c", "b", "d"), directed=FALSE) hrmbg<- HRMBG(g)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.