em_icl {betaclust} | R Documentation |
Compute the ICL value for the optimal model.
em_icl(llk, C, M, N, R, model_name = "K..", z)
llk |
Log-likelihood value. |
C |
Number of CpG sites. |
M |
Number of methylation states identified in a DNA sample. |
N |
Number of patients. |
R |
Number of DNA samples collected from each patient. |
model_name |
Fitted mixture model. Options are "K..", "KN." and/or "K.R" (default = "K.."). |
z |
A matrix of posterior probabilities of cluster membership, stored as z in the object from |
Computes the ICL for a specified model given the log-likelihood, the dimension of the data, and the model names. This criterion penalises the BIC by including an entropy term favouring well separated clusters.
The ICL value for the selected model.