Description Usage Arguments Details
Estimate a mixture model using an EM algorithm
1 2 3 4 |
formula |
a formula expression as for regression models, of pooled form |
data |
a |
penalization |
a scalar between 0 and 1 to penalize observations whose type is unobserved. 1 discards those observations, 0 gives them weight equal to observations whose type is observed. |
munCol |
column in both |
zCol |
column in both |
yearCol |
column in |
stateCol |
column in |
tol |
threshold used to determined convergence |
mixTrace |
report each |
pool |
should |
k |
rounding parameter for numerical stability. Rounds to the order of |
nSamples |
number of bootstrap replicates. If |
parallel |
should the bootstrap be parallelized? if |
seed |
optional seed |
cl |
cluster used for parallelization |
... |
additional parameters passed on to |
mixMaxIt |
maximum number of iterations |
Make sure to check the methods man page to see related methods, as well as the posteriorprobs man page for how to deal with predicted probabilities.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.