data.diff.test | R Documentation |
Performing the hypothesis test to compare the difference between the empirical data and the simulated data
data.diff.test(x, y, test.method)
x |
A numeric matrix. |
y |
A numeric matrix which is compared to |
test.method |
A string to specify the hypothesis test used to detect the difference between input data and the simulated data. Default is "none". Possible methods are energy distance ("energy") and ball divergence ("ball"). The R packages "energy" and "Ball" are needed. |
A list with two elements.
p.value: the p-value of the hypothesis test.
test.result: the returned object of the hypothesis test.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.