Learn R Programming

CAvariants (version 5.0)

docabasic: Doubly or two-way ordered correspondence analysis, it implies two ordered variables

Description

This function is used in the main function CAvariants when the input parameter is catype = "DOCA". It performs the bivariate moment decomposition of the Pearson's ratio, computes polynomial axes, coordinates, weights of rows and columns, total inertia (equal to the Pearson's index), the rank of the matrix. It allows one to decompose the inertia into row and column polynomial components.

Usage

docabasic(Xtable, mi, mj)

Arguments

Xtable

The two-way contingency table.

mi

The set of ordered row scores.

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)
mi <- c(1,2,3,4)
mj <- c(1,2,3,4,5)
docabasic(asbestos, mi, mj)
# }

Run the code above in your browser using DataLab