rhyper2 | R Documentation |
hyper2
objectsRandom hyper2
loglikelihood functions, intended as quick
“get you going” examples
rhyper2(n = 8, s = 5, pairs = TRUE, teams = TRUE, race = TRUE, pnames)
n |
Number of competitors, treated as even |
s |
Integer, Measure of the complexity of the log likelihood function |
pairs , teams , race |
Boolean, indicating whether or not to include different observations |
pnames |
Character vector of names, if missing interpret as
|
Function rhyper2()
returns a likelihood function based on
random observations. To return a random probability vector drawn from
a from a given (normalized) likelihood function, use rp()
.
Robin K. S. Hankin
rp
,rrace
rhyper2()
rp(2,icons)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.