hyperdirichlet (version 1.5-1)

hyperdirichlet-class: Class ``hyperdirichlet''

Description

A generalization of the Dirichlet distribution

Arguments

Objects from the Class

Objects can be created by calls of the form hyperdirichlet(...).

Slots

.Data:
Numeric vector of length a power of two, holding the parameters (sic; not the powers) of the distribution
NC:
The normalizing constant, if known
pnames:
Character vector holding the names of the columns
validated:
Boolean, indicating whether the distribution is known to be normalizable

Methods

NC
signature(object = "hyperdirichlet"): normalizing constant
params
signature(object = "hyperdirichlet"): accessor method for parameters
pnames
signature(object = "hyperdirichlet"): accessor method for pnames
validated
signature(x = "hyperdirichlet"): returns TRUE if the distribution is known to be normalized
pnames<-
signature(object = "hyperdirichlet"): set method for pnames
dim
signature(x = "hyperdirichlet"): Dimensionality of the distribution
mean
signature(object = "hyperdirichlet"): returns the mean of the distribution
as.hyperdirichlet
signature(object = "hyperdirichlet"): Coerce to hyperdirichlet form
head
signature(object = "hyperdirichlet"): head method; prints the first few lines of the parameters
tail
signature(object = "hyperdirichlet"): head method; prints the last few lines of the parameters
show
signature(object = "hyperdirichlet"): prints the object

See Also

hyperdirichlet

Examples

Run this code
dput(uniform(3,pnames=letters[1:3]))

Run the code above in your browser using DataCamp Workspace