head.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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.