Lei_GOF: Implement Lei's goodness of fit test

Description Usage Arguments Examples

View source: R/Lei_GOF.R

Description

Function to test the fit of a putative stochastic block model labeling using Lei's goodness of fit test (Lei, 2016)

Usage

1
Lei_GOF(A, z, alpha = 0.05)

Arguments

A

A symmetric adjacency matrix with entries of 0 or 1

z

A putative cluster labeling vector. The number of entries should equal the row and column dimension of A.

alpha

The significance level of the goodness of fit test

Examples

1
Lei_GOF(A,z)

carter-allen/sbmlhelpers documentation built on Aug. 10, 2020, 10:37 a.m.