`mixDen`

computes the marginal density for each component of
a normal mixture at each of the points on a user-specifed grid.

1 |

`x` |
array - ith column gives grid points for ith variable |

`pvec` |
vector of mixture component probabilites |

`comps` |
list of lists of components for normal mixture |

length(comps) is the number of mixture components. comps[[j]] is a list of
parameters of the jth component. comps[[j]]$mu is mean vector; comps[[j]]$rooti
is the UL decomp of *Σ^{-1}*.

an array of the same dimension as grid with density values.

This routine is a utility routine that does **not** check the
input arguments for proper dimensions and type.

Peter Rossi, Anderson School, UCLA, perossichi@gmail.com.

For further discussion, see *Bayesian Statistics and Marketing*
by Rossi, Allenby and McCulloch, Chapter 3.

http://www.perossi.org/home/bsm-1

`rnmixGibbs`

1 2 3 4 5 6 | ```
## Not run:
##
## see examples in rnmixGibbs documentation
##
## End(Not run)
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.