rDPM: rDPM

Description Usage

Description

Draw from a two-dimensional Dirichlet process mixture model (no correlation between dimensions). Return multiple outputs, including true group allocation. For a more complex model including correlations between dimensions see the rMultiMix() function.

Usage

1
2
rDPM(n, sigma = 1, priorMean_x = 0, priorMean_y = 0, priorSD = 10,
  alpha = 1)

bobverity/bobFunctions documentation built on May 12, 2019, 11:29 p.m.