Usage
dhyperdirichlet_e(e, HD, include.Jacobian = TRUE)
dhyperdirichlet(p, HD, include.NC = FALSE, TINY = 1e-10, log = FALSE)
rhyperdirichlet(n, HD, start=NULL, sigma=NULL)
Arguments
HD
Object of class hyperdirichlet, or coerced thereto
p
Vector of length dim(HD), notionally summing to one
e
Vector of length dim(HD) giving the point in e-space
include.Jacobian
In function dhyperdiriclet_e(),
Boolean with default TRUE meaning to include the Jabobian of
the transform from e to p
include.NC
In function dhyperdirichlet_e(), Boolean with
TRUE meaning to include the normalization factor and default
FALSE meaning not to include it (it is expensive to
calculate). Note that if the normalizing fac
TINY
In function dhyperdirichlet_p(), numeric,
specifying minimum size for elements of p via p <-
pmax(p , TINY)
log
In function dhyperdirichlet_p(), Boolean with
default FALSE meaning to return the probability density and
TRUE meaning to return its logarithm
n,start,sigma
In function rhyperdirichlet(), n is
the number of observations to take, start is the start-point
for the random walk (with default NULL meaning to use the
neutral point), and sigma