Learn R Programming

rgp (version 0.4-1)

makeHierarchicalClusterFunction: Clustering Populations for Niching

Description

These functions create clusterFunctions for multiNicheGeneticProgramming and multiNicheSymbolicRegression. makeHierarchicalClusterFunction returns a clustering function that uses Ward's agglomerative hierarchical clustering algorithm hclust.

Usage

makeHierarchicalClusterFunction(distanceMeasure = NULL, minNicheSize = 1)

Arguments

distanceMeasure
A distance measure, used for calculating distances between individuals in a population.
minNicheSize
The minimum number of individuals in each niche.

Value

A clusterFunction for clustering populations.

See Also

multiNicheGeneticProgramming, multiNicheSymbolicRegression