ddirimix.grid {BMAmevt}R Documentation

Plots the Dirichlet mixture density on a discretization grid

Description

Only valid in the tri-variate case

Usage

ddirimix.grid(
  par = get("dm.expar.D3k3"),
  wei = par$wei,
  Mu = par$Mu,
  lnu = par$lnu,
  npoints = 30,
  eps = 10^(-3),
  equi = TRUE,
  marginal = TRUE,
  coord = c(1, 2, 3),
  invisible = TRUE,
  displ = TRUE,
  ...
)

Arguments

par

The parameter list for the Dirichlet mixture model.

wei

Optional. If present, overrides the value of par$wei.

Mu

Optional. If present, overrides the value of par$Mu.

lnu

Optional. If present, overrides the value of par$lnu.

npoints

The number of grid nodes on the squared grid containing the desired triangle.

eps

Positive number: minimum distance from any node inside the simplex to the simplex boundary

equi

logical. Is the simplex represented as an equilateral triangle (if TRUE) or a right triangle (if FALSE) ?

marginal

logical. If TRUE, the angular density corresponds to the marginal intensity measure, over coordinates coord. Otherwise, it is only the projection of the full dimensional angular measure (hence the moments constraints is not satisfied anymore).

coord

A vector of size 3: the indices of the coordinates upon which the marginalization is to be done.

invisible

Logical: should the result be returned as invisible ?

displ

Logical: should a plot be issued ?

...

Additional arguments to be passed to dgridplot.

Value

The discretized density


[Package BMAmevt version 1.0.5 Index]