calcCentroids {geocmeans}R Documentation

Calculate the centroids

Description

Calculate the new centroids of the clusters based on the membership matrix

Usage

calcCentroids(data, belongmatrix, m)

Arguments

data

A dataframe or matrix representing the observed data with n rows and p columns

belongmatrix

A n X k matrix giving for each observation n, its probability to belong to the cluster k

m

An integer representing the fuzziness degree

Value

A n X k matrix representing the belonging probabilities of each observation to each cluster

Examples

#This is an internal function, no example provided

[Package geocmeans version 0.1.1 Index]