Description Usage Arguments Details Value
Calculate the residuals from the two component models, and the probabilities of membership of the second component.
1 2 3 |
object |
An object of class |
type |
Whether to return the posterior mean or samples from the posterior. |
standardize |
Whether to standardize the residuals. |
... |
Currently unused. |
If type="mean"
the function returns posterior mean
quantities as a dataframe, otherwise it returns samples from the
posterior as a list of arrays.
Returns a list or dataframe with elements
|
residuals for the first component model |
|
residuals for the second component model |
|
posterior predictive probabilities of membership of the second component |
|
posterior probabilities of membership of the second component |
|
binary indicators of membership of the second component, conditional on the observed response |
If type="mean"
return a dataframe of posterior means is
returned, and if type="samples"
return a list of arrays of
samples from the posterior.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.