pac_convergence {ClustAssess} | R Documentation |
Plot PAC across iterations for a set of k to assess convergence.
pac_convergence(pac_res, k_plot)
pac_res |
The data.frame output by consensus_cluster. |
k_plot |
A vector with values of k to plot. |
A ggplot2 object with the convergence plot. Convergence has been reached when the lines flatten out across k_plot values. out across
pac.res = consensus_cluster(iris[,1:4], k_max=20)
pac_convergence(pac.res, k_plot=c(3,5,7,9))