MME: Object of class 'MME'

View source: R/gr_HRMnetwork.R

MMER Documentation

Object of class MME

Description

It creates an object with two slots: $graph which contains the graph and $depParams which contains the edge weights, initialized with zero values. It is a subclass of HRMtree. It is intended to be used for models on trees to estimate edge weights using method of moment estimator. Please consult Vignettes "Code - Note 1" and "Estimation - Note 1".

Usage

MME(g)

Arguments

g

must be an igraph object, a tree.

Value

Object of class MME with two slots: $graph containing the graph and $depParams containing the edge weights corresponding to the dependence parameters. The edge weights are initialized with zero values.

Examples

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

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