is_best_k-ConsensusPartitionList-method: Test whether the current k is the best/optional k

is_best_k-ConsensusPartitionList-methodR Documentation

Test whether the current k is the best/optional k

Description

Test whether the current k is the best/optional k

Usage

## S4 method for signature 'ConsensusPartitionList'
is_best_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_best_k(golub_cola, k = 3)

jokergoo/cola documentation built on Feb. 29, 2024, 1:41 a.m.