classification: Cluster Analysis

Description Usage Arguments Details Value Author(s) Examples

Description

It makes cluster analysis of the data using the nfcl first factorial coordinates

Usage

1
classification(datos,numclass=2,numaxes=5,pesos=NULL)    

Arguments

datos

object of type data frame or matrix with coordinates of factorial analysis

numclass

number of class. Default 2

numaxes

number of dimensions for the classification. Default 5

pesos

a vector of row weights. Default NULL

Details

The data given by datos is clustered by the Ward method using the function ward.cluster of the package FactoClass. This classification is optimized across the method kmeans.

Value

An object of class "kmeans", a list with components: cluster, centers, withinss and size. To more information see the function kmeans.

Author(s)

Martha Lucia Corrales <martha.corrales@usa.edu.co> & Campo Elias Pardo <cepardot@unal.edu.co>

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
data(ratingTV)
 

# Fuzzy Correspondence Analysis 
fuzzyb<-fuzzy(datos=ratingTV$tab, vectorc=c(15,15,15,15,15,15))  
6

#Cluster analysis
clases<-classification(datos=fuzzyb$li,numclass=7, numaxes=6)
clases$cluster
clases$centers
clases$size

qha documentation built on May 2, 2019, 1:44 p.m.

Related to classification in qha...