Learn R Programming

hyper2 (version 3.0-0)

rhyper2: 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 letters; set to NA meaning no names

Author

Robin K. S. Hankin

See Also

rp

Examples

Run this code

rhyper2()
rp(2,icons)

Run the code above in your browser using DataLab