cnPearsonTest-method: Goodness of Fit Test
Description
The function calculates the Pearson's chi-square statistics for all nodes of a network.
Usage
cnPearsonTest(object, data)
Arguments
data
a data matrix
or data.frame
Details
For given data
and network object
, the function reports both the chi-square statistics and the degree of freedom for each node in the network for the purpose of performing goodness of fit tests.