Description Usage Arguments Details Value Author(s) Examples
View source: R/getGibbsMixture.R
This function splits the data into groups based on the Gibbs criteria.
1 | getGibbsMixture(data, type, desiredGroups, maxIter = 50, digits = 3)
|
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. |
Generally this function is not used by itself but in conjunction with getLoglikeMixture.
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.
Terrence Brooks, Berkley Shands, Skye Buckner-Petty, Patricio S. La Rosa, Elena Deych, William D. Shannon
1 2 3 | data(braingraphs)
braingm <- getGibbsMixture(braingraphs, "adjMatrix", 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.