The criterion for optimal consensus is the mean adjusted Rand Index between the consensus and the partitions given by the subjects.
If ngroups=0
, consensus is computed between 2 and nstimuli-1 and the best consensus is returned.
For type="cutree"
, the initialisation step is based on cutting the tree generated by clustering the stimuli. For type="fusion"
, the initialisation step is based on the fusion algorithm. In this case, results are more accurate but the algorithm might be time consuming. For type="medoid"
, the consensus is the closest partition to all the partitions given by subjects.
For optim=TRUE
, a transfer step is performed after the initialisation step.