Learn R Programming

doMIsaul (version 1.0.1)

exctract_center_position: Extract the cluster centers coordinates

Description

Extract the cluster centers coordinates

Usage

exctract_center_position(data, Cluster, centPos)

Arguments

data

dataframe (of dimension n * p).

Cluster

vector (of length n) containing the cluster allocations.

centPos

String, indicated whether the center position should be defined by the mean (use "colMeans") or the median of the cluster (use any other string).

Value

matrix (k * p) with center coordinates