head.hyper2 {hyper2} | R Documentation |
First few terms in a hyperdirichlet distribution
## S3 method for class 'hyper2'
head(x, ...)
x |
Object of class |
... |
Further arguments, passed to |
Function is x[head(brackets(x), ...)]
Returns a hyper2
object
Robin K. S. Hankin
p <- zipf(5)
names(p) <- letters[1:5]
H <- rank_likelihood(rrank(20,p))
head(H)