Learn R Programming

RSDA (version 1.1)

cfa.totals: Compute totals of the matrix

Description

Compute rows and columns totals of the matrix.

Usage

cfa.totals(sym.data)

Arguments

sym.data
Should be a symbolic data table read with the function read.sym.table(...).

Value

  • Return rows and columns totals of the matrix.

References

Rodriguez, O. (2011). Correspondence Analysis for Symbolic MultiValued Variables. Workshop in Symbolic Data Analysis Namur, Belgium.

See Also

sym.cfa

Examples

Run this code
data(ex_cfa1) 
res<-cfa.totals(ex_cfa1)
Z<-cfa.MatrixZ(ex_cfa1,res$TotalRows,res$TotalColumns) 
svd<-eigen(Z)
MVPRealz<-cfa.CVPRealz(ex_cfa1,res$TotalRows,res$TotalColumns,res$Total,svd$vectors)
Mzz<-cfa.Czz(ex_cfa1,res$TotalRows,res$TotalColumns,MVPRealz,svd$values)
CMM<-cfa.minmax(ex_cfa1,res$TotalRows,res$TotalRowsMin,res$TotalRowsMax,
res$TotalColumns,res$TotalColumnsMin,res$TotalColumnsMax,
res$Total,MVPRealz,Mzz)

Run the code above in your browser using DataLab