View source: R/classification.R
classification | R Documentation |
This function classifies the deciders based on their allocation to the components of the mixing distribution.
classification(x, add_true = FALSE)
x |
An object of class |
add_true |
Set to |
The relative frequencies of which each decider was allocated to the classes during the Gibbs sampling are displayed. Only the thinned samples after the burn-in period are considered.
A data.frame
.
The row names are the decider identifiers.
The first C
columns contain the relative frequencies with which the deciders are allocated to classes. Next, the column
est' contains the
estimated class of the decider based on the highest allocation frequency.
If add_true = TRUE
, the next column true
contains the true class
memberships.
update_z()
for the updating function of the class allocation vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.