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