Description Usage Arguments Details Value Examples
gofRand(exp, obs, perm = 1000)
1 |
obs |
a vector of observed frequencies |
exp |
a vector of expected frequencies, proportions, percentages or relative values |
perm |
number of randomizations |
produces a p-value from proportion of random data sets which
result in a chi-squared value at least as big as that calculated from the
actual data. Similar to the simulate.p.value
option in chisq.test
list of output variables;
randomisation p-value
= calculated p-value from randomization
original chi-squared
= chi-squared calculated from actual data
chi-squared distrib. p
= p-value from chi-squared distribution;
for comparison
number of permutations
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.