Learn R Programming

geocmeans (version 0.3.4)

main_worker: Main worker function

Description

Execution of the classification algorithm

Usage

main_worker(algo, ...)

Value

A named list with

  • Centers: a dataframe describing the final centers of the groups

  • Belongings: the final membership matrix

  • Groups: a vector with the names of the most likely group for each observation

  • Data: the dataset used to perform the clustering (might be standardized)

Arguments

algo

A string indicating the algorithm to use (one of FCM, GFCM, SGFCM)

...

all the required arguments for the algorithm to use

Examples

Run this code
#This is an internal function, no example provided

Run the code above in your browser using DataLab