rhyper2 {hyper2} | R Documentation |
Random hyper2
objects
Description
Random hyper2
loglikelihood functions, intended as quick
“get you going” examples
Usage
rhyper2(n = 8, s = 5, pairs = TRUE, teams = TRUE, race = TRUE, pnames)
Arguments
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
|
Note
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()
.
Author(s)
Robin K. S. Hankin
See Also
Examples
rhyper2()
rp(2,icons)
[Package hyper2 version 3.1-0 Index]