The function calculates the Pearson's chi-square statistics for all nodes of a network.
Usage
cnPearsonTest(object, data)
Arguments
object
a catNetwork
data
a data matrix or data.frame
Value
A list
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.