Learn R Programming

gremes (version 0.1.1)

MME: 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)

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.

Arguments

g

must be an igraph object, a tree.

Examples

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

Run the code above in your browser using DataLab