uniform.test | R Documentation |
Tests whether a histogram is significantly different from a uniform distribution.
uniform.test(hist.output, B = NULL)
hist.output |
output from a call to |
B |
number of replicates for chi-squared permutation. |
result of chi-squared test.
Eric Archer eric.archer@noaa.gov
x.unif <- runif(100)
uniform.test(hist(x.unif), B = 1000)
x.lnorm <- rlnorm(100)
uniform.test(hist(x.lnorm), B = 1000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.