Learn R Programming

bingat (version 1.3)

estMLE: Estimate the MLE Parameters

Description

This function estimates the MLE parameters g-star and tau for a given set of graphs.

Usage

estMLE(data, type)

Arguments

data

A data frame in which the columns (subjects) contain a 0/1 value for row (Node or Edge).

type

The type of graph being used (adjmatrix or adjmatrixlt).

Value

A list containing g-star and tau named gstar and tau respectively.

Details

Essentially this function calls both estGStar and estTau and returns the results.

Examples

Run this code
	data(braingraphs)

	brainmle <- estMLE(braingraphs, "adjMatrix") 
	brainmle

Run the code above in your browser using DataLab