Assign Assessors to Clusters
Assign assessors to clusters by finding the cluster with highest posterior probability.
assign_cluster( model_fit, burnin = model_fit$burnin, soft = TRUE, expand = FALSE )
model_fit |
An object of type |
burnin |
A numeric value specifying the number of iterations
to discard as burn-in. Defaults to |
soft |
A logical specifying whether to perform soft or
hard clustering. If |
expand |
A logical specifying whether or not to expand the rowset
of each assessor to also include clusters for which the assessor has
0 a posterior assignment probability. Only used when |
A dataframe. If soft = FALSE
, it has one row per assessor, and columns assessor
,
probability
and map_cluster
. If soft = TRUE
, it has n_cluster
rows per assessor, and the additional column cluster
.
compute_mallows
for an example where this function is used.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.