is_stable_k-ConsensusPartition-method | R Documentation |
Test whether the current k corresponds to a stable partition
## S4 method for signature 'ConsensusPartition'
is_stable_k(object, k, stable_PAC = 0.1, ...)
object |
A |
k |
Number of subgroups. |
stable_PAC |
Cutoff for stable PAC. |
... |
Pass to |
if 1-PAC for the k is larger than 0.9 (10% ambiguity for the partition), cola marks it as a stable partition.
Logical scalar.
data(golub_cola)
obj = golub_cola["ATC", "skmeans"]
is_stable_k(obj, k = 2)
is_stable_k(obj, k = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.