getGibbsMixture: Group Splitter

Description Usage Arguments Details Value Author(s) Examples

View source: R/getGibbsMixture.R

Description

This function splits the data into groups based on the Gibbs criteria.

Usage

1
getGibbsMixture(data, type, desiredGroups, maxIter = 50, digits = 3)

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).

desiredGroups

The number of groups to test for.

maxIter

The maximum number of iterations to run searching for an optimal split.

digits

The number of digits to round internal values to when checking the stop criteria.

Details

Generally this function is not used by itself but in conjunction with getLoglikeMixture.

Value

A list that contains information about the group splits. The list contains the final weights, gstars and taus for every group, a boolean indicating convergence, the number of iterations it took, and the group for each graph.

Author(s)

Terrence Brooks, Berkley Shands, Skye Buckner-Petty, Patricio S. La Rosa, Elena Deych, William D. Shannon

Examples

1
2
3
	data(braingraphs)

	braingm <- getGibbsMixture(braingraphs, "adjMatrix", 5) 

Example output



bingat documentation built on May 1, 2019, 9:11 p.m.