Learn R Programming

GraphPCA (version 1.1)

Ridi3: Normalized Mantel Hansen's Scores computation using cumulative distribution function

Description

This function computes Normalized Mantel Hansen's scores

Usage

Ridi3(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 Normalized 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

sss1=Ridi3(Hist1)$Ridit
sss2=Ridi3(Hist2)$Ridit
sss3=Ridi3(Hist3)$Ridit
sss4=Ridi3(Hist4)$Ridit

# }

Run the code above in your browser using DataLab