Learn R Programming

gremes (version 0.1.1)

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

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.

Arguments

g

must be an igraph object, a tree.

Examples

Run this code
g<- make_tree(8,3, mode="undirected")
g<- set.vertex.attribute(g, "name", V(g), letters[1:8])
mle2<- MLE2(g)

Run the code above in your browser using DataLab