head {hyperdirichlet} | R Documentation

## Head and tail

### Description

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

### Usage

    ## S4 method for signature 'hyperdirichlet':
    head(x, n = 6, ...)
    ## S4 method for signature 'hyperdirichlet':
    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()`

### Details

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

### Value

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

### Author(s)

Robin K. S. Hankin

### See Also

`binmat`

### Examples

    head(dirichlet(1:6))

[Package hyperdirichlet version 1.3-8 Index]