MLE2: Object of class 'MLE2'

View source: R/gr_HRMnetwork.R

MLE2R Documentation

Object of class MLE2

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 trees. Consult Vignettes "Code - Note 2" and "Estimation - Note 2".

Usage

MLE2(g)

Arguments

g

must be an igraph object, a tree.

Value

Object of class MLE2 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<- make_tree(8,3, mode="undirected")
g<- set.vertex.attribute(g, "name", V(g), letters[1:8])
mle2<- MLE2(g)

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