g.test.1 | R Documentation |
For a set of observations against a set of probabilities.
g.test.1(obsx, px)
obsx |
a numeric vector of finite positive counts, with at least one non-zero value. |
px |
a vector of probabilities of the same length as xobs. ( sum(px) <= 1 ) The order of values in the two vectors should be the same. If any value of xp is zero and the corresponding xobs is not, g.test.1 will always reject the hypothesis. No corrections are applied. No input checks are applied. |
General utility function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.