Learn R Programming

CAvariants (version 5.0)

sonscabasic: Singly or one-way ordered non symmetrical correspondence analysis

Description

This function is used in the main function CAvariants when the input parameter is catype = "SONSCA". It performs the hybrid decomposition of the numerator of the Goodman-Kruskal tau index and implies an ordered (column) variable. It compute the principal axes for rows and polynomial axes for columns, coordinates, weights of rows and columns, inertia (equal to the numerator of the tau index), the rank of the matrix. It allows the analyst to decompose the inertia in column polynomial components.

Usage

sonscabasic(Xtable, mj)

Arguments

Xtable

The two-way contingency table.

mj

The set of ordered column scores.

References

Beh EJ and Lombardo R 2014 Correspondence Analysis: Theory, Practice and New Strategies. John Wiley & Sons. Lombardo R Beh EJ 2016 Variants of Simple Correspondence Analysis. The R Journal, 8 (2), 167--184. Lombardo R Beh EJ and Kroonenberg PM 2016 Modelling Trends in Ordered Correspondence Analysis Using Orthogonal Polynomials. Psychometrika, 81(2), 325-349.

Examples

Run this code
# NOT RUN {
data(asbestos)
mj<-c(1,2,3,4,5)
sonscabasic(asbestos,mj)
# }

Run the code above in your browser using DataLab