HRMBG: Object of class 'HRMBG'

View source: R/gr_HRMnetwork.R

HRMBGR Documentation

Object of class HRMBG

Description

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".

Usage

HRMBG(g)

Arguments

g

must be an igraph object

Value

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

Examples

g<- graph(c("a","b", "b","c", "b", "d"), directed=FALSE)
hrmbg<- HRMBG(g)

gremes documentation built on Feb. 16, 2023, 8:06 p.m.