Description Usage Arguments Details Value
Extract a set of model coefficients from a fitted bmixlm
object.
1 2 3 |
object |
An object of class |
which |
The parameter set to extract (see details). |
type |
Whether to return the posterior mean or samples from the posterior. |
... |
Currently unused. |
The fitted object contains of four sets of parameters: the
coefficients for the two component models, the coefficients for
the probit model, and the error standard deviations from the two
component models. The which
argument determines which of
these parameter sets is returned:
"comp1"
coefficients for the first component model
"comp2"
coefficients for the second component model
"probit"
coefficients for the probit binary model
"error"
error standard deviations for the two components
If type="mean"
the coefficients are returned as a
vector, and if type="samples"
the coefficients are
returned as an array of samples from the posterior
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.