gka_chromosome_fix {UAHDataScienceUC}R Documentation

Chromosome fixing method

Description

This method fixes chromosomes which do not have at least one observation assigned to each cluster.

Usage

gka_chromosome_fix(population, k)

Arguments

population

a matrix of size p by n with the cluster assignments for each observation.

k

the number of clusters.

Value

a matrix of size p by n with the cluster assignments for each observation.

Author(s)

Eduardo Ruiz Sabajanes, eduardo.ruizs@edu.uah.es


[Package UAHDataScienceUC version 1.0.1 Index]