main_worker: Main worker function

View source: R/assembling.R

main_workerR Documentation

Main worker function

Description

Execution of the classification algorithm

Usage

main_worker(algo, ...)

Arguments

algo

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

...

all the required arguments for the algorithm to use

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)

Examples

#This is an internal function, no example provided

geocmeans documentation built on Sept. 12, 2023, 9:06 a.m.