pnames {hyperdirichlet}R Documentation

Names for the columns

Description

Get and set column names

Usage

pnames(x)
pnames(x) <- value

Arguments

x Object of class hyperdirichlet
value Names of the columns

Value

Function pnames() returns a k-tuple of names and function pnames<-() returns a hyperdirichlet object.

Note

The default is to leave the columns unnamed; the print method puts them there for printing if null.

Author(s)

Robin K. S. Hankin

Examples

a <- dirichlet(1:3)
pnames(a) <- letters[1:3]
a

[Package hyperdirichlet version 1.3-8 Index]