Learn R Programming

hyperdirichlet (version 1.4-9)

head: Head and tail

Description

Print the first few, or last few, lines of a hyperdirichlet object

Usage

"head"(x, n = 6, ...) "tail"(x, n = 6, ...)

Arguments

x
object of class hyperdirichlet
n
number of lines to print as per same argument in head() and tail()
...
Further arguments passed to head() or tail()

Value

The functions documented here coerce to a matrix, then return the appropriate rows (as a matrix).

Details

Prints the head or tail of the binmat() matrix and then prints the normalizing constant.

See Also

binmat

Examples

Run this code
head(dirichlet(1:6))

Run the code above in your browser using DataLab