is_stable_k-ConsensusPartition-method: Test whether the current k corresponds to a stable partition

Description Usage Arguments Details Value Examples

Description

Test whether the current k corresponds to a stable partition

Usage

1
2
## S4 method for signature 'ConsensusPartition'
is_stable_k(object, k, ...)

Arguments

object

A ConsensusPartition-class object.

k

Number of subgroups.

...

Pass to suggest_best_k,ConsensusPartition-method.

Details

if 1-PAC for the k is larger than 0.9 (10% ambiguity for the partition), cola marks it as a stable partition.

Value

Logical scalar.

Examples

1
2
3
4
data(golub_cola)
obj = golub_cola["ATC", "skmeans"]
is_stable_k(obj, k = 2)
is_stable_k(obj, k = 3)

cola documentation built on Nov. 8, 2020, 8:12 p.m.