Learn R Programming

GraphPCA (version 1.1)

Ridi: Mantel Hansen's Scores computation using cumulative distribution function

Description

This function computes Mantel Hansen's scores

Usage

Ridi(X)

Arguments

X

histogram-valued variable built via PrepHistogram function.

Value

Returns a list including :

p

bins number of histograms

entree

Means table of Mantel's Hansen scores

Ridit

Mantel's Hansen scores

Details

This function computes Mantel Hansen's scores

References

Makosso-Kallyth, Sun; Diday, Edwin. Adaptation of interval PCA to symbolic histogram variables. Advances in Data Analysis and Classification. Volume 6. n 2. 2012. pages 147-159. Springer.

Examples

Run this code
# NOT RUN {

Hist1=PrepHistogram(X=iris[,1],Z=iris[,5])$Vhistogram
Hist2=PrepHistogram(X=iris[,2],Z=iris[,5])$Vhistogram
Hist3=PrepHistogram(X=iris[,3],Z=iris[,5])$Vhistogram
Hist4=PrepHistogram(X=iris[,4],Z=iris[,5])$Vhistogram

s1=Ridi(Hist1)$Ridit
s2=Ridi(Hist2)$Ridit
s3=Ridi(Hist3)$Ridit
s4=Ridi(Hist4)$Ridit

# }

Run the code above in your browser using DataLab