ddirimix.grid1D {BMAmevt} | R Documentation |
Univariate projection or marginalization of a Dirichlet mixture density on on [0,1]
Description
Plots a univariate Dirichlet mixture (in other words, a Beta mixture) angular density for extreme bi-variate data.
Usage
ddirimix.grid1D(
par = get("dm.expar.D2k4"),
wei = par$wei,
Mu = par$Mu,
lnu = par$lnu,
npoints = 30,
eps = 10^(-3),
coord = c(1, 2),
marginal = TRUE,
invisible = TRUE,
displ = TRUE,
add = FALSE,
...
)
Arguments
par |
The parameter list for the Dirichlet mixture model. |
wei |
Optional. If present, overrides the value of
|
Mu |
Optional. If present, overrides the value of
|
lnu |
Optional. If present, overrides the value of
|
npoints |
number of points on the 1D discretization grid. |
eps |
the minimum value ( = 1- the maximum value) of the grid points. |
coord |
A vector of size 2: the indices of the coordinates upon which the marginalization or projection is to be done if the dimension of the sample space is greater than two. |
marginal |
logical. If |
invisible |
Logical: should the result be returned as invisible ? |
displ |
Logical: should a plot be issued ? |
add |
Logical: should the density be added to the currently active plot ? |
... |
Additional arguments to be passed to |
Value
The discretized density on [eps, 1-eps]
(included in [0,1])