Learn R Programming

gremes (version 0.1.1)

MLE1: Object of class MLE1

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

Usage

MLE1(g)

Value

Object of class MLE1 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])
mle1<- MLE1(g)

Run the code above in your browser using DataLab