centroids: Centroids of the Classes of a Partition

Description Usage Arguments Value Author(s) Examples

Description

It evaluates the centroids of a partition with the weights in rw

Usage

1
centroids(df,cl,rw=rep(1/nrow(df),nrow(df)))

Arguments

df

object of class data.frame, with the data of variables or coordinates

cl

vector indicating the cluster of each element

rw

weight of the rows of df, by default the same

Value

Object of class list with the following:

centroids

class centroids

weights

class weights

Author(s)

Campo Elias Pardo cepardot@unal.edu.co

Examples

1
2


Search within the FactoClass package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.