This function performs the Chi square test

chiSquare.test(matrix, n, p = NULL)

Arguments

matrix

Matrix of data

n

N parameter for Uniform distribution

p

P parameter for uniform distribution

Value

A list with pvalues for alternative hypothesis, statistics, method and data name