pnames {hyperdirichlet} | R Documentation |
Get and set column names
pnames(x) pnames(x) <- value
x |
Object of class hyperdirichlet |
value |
Names of the columns |
Function pnames()
returns a k-tuple of names and function
pnames<-()
returns a hyperdirichlet object.
The default is to leave the columns unnamed; the print method puts them there for printing if null.
Robin K. S. Hankin
a <- dirichlet(1:3) pnames(a) <- letters[1:3] a