hyperdirichlet (version 1.5-1)

pnames: 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.

Examples

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

Run the code above in your browser using DataCamp Workspace