is_stable_k-ConsensusPartitionList-method {cola}R Documentation

Test whether the current k corresponds to a stable partition

Description

Test whether the current k corresponds to a stable partition

Usage

## S4 method for signature 'ConsensusPartitionList'
is_stable_k(object, k, ...)

Arguments

object

A ConsensusPartitionList-class object.

k

Number of subgroups.

...

Pass to suggest_best_k,ConsensusPartitionList-method.

Details

It tests on the partitions for every method.

Value

Logical vector

Examples

data(golub_cola)
is_stable_k(golub_cola, k = 3)

[Package cola version 2.0.0 Index]