angles.csa: Cosine similarities and angles between CSA and MCA

View source: R/angles.csa.R

angles.csaR Documentation

Cosine similarities and angles between CSA and MCA

Description

Computes the cosines similarities and angles between the dimensions of a CSA and those of a MCA.

Usage

angles.csa(rescsa, resmca)

Arguments

rescsa

object of class 'csMCA'

resmca

object of class 'MCA' or 'speMCA'

Details

This function is adapted from 'csa.measures' in 'sco.ca' package.

Value

A list of matrices:

cosines

Cosine similarities

angles

Angles

Author(s)

Nicolas Robette

References

Le Roux B. and Rouanet H., Multiple Correspondence Analysis, SAGE, Series: Quantitative Applications in the Social Sciences, Volume 163, CA:Thousand Oaks (2010).

Le Roux B. and Rouanet H., Geometric Data Analysis: From Correspondence Analysis to Stuctured Data Analysis, Kluwer Academic Publishers, Dordrecht (June 2004).

See Also

MCA, speMCA, csMCA

Examples

## Performs a specific MCA and a CSA on the 'Music' example data set
## and compute cosine similarities and angles
data(Music)
resmca <- speMCA(Music[,1:5],excl=c(3,6,9,12,15))
female <- Music$Gender=='Women'
rescsa <- csMCA(Music[,1:5],subcloud=female,excl=c(3,6,9,12,15))
angles.csa(rescsa, resmca)

GDAtools documentation built on March 18, 2022, 5:13 p.m.