Learn R Programming

UAHDataScienceUC (version 1.0.1)

gka_chromosome_fix: 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)

Value

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

Arguments

population

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

k

the number of clusters.

Author

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