get_relevant_k: get_relevant_k

Description Usage Arguments Value

View source: R/clustering.R

Description

calls NbClust package to return a list of relevant k according to different methodologies

Usage

1
get_relevant_k(scores_tab, ix = NULL, kmax = 12)

Arguments

scores_tab

data.table, the table of scores

ix

boolean vector of indexes to which scores_tab must be reduced (sampling output)

kmax

maximun number of clusters allowed

Value

a list of 2 elements

NbClust_output

A vector of integer storing the best k returned by each method

majority_rule_k

k most often returned


charles-bernard/mage documentation built on May 14, 2019, 2 a.m.