Learn R Programming

CAvariants (version 5.0)

socabasic: Singly or one-way ordered correspondence analysis, it implies an ordered (column) variable

Description

This function is used in the main function CAvariants when the input parameter is catype = "SOCA". It performs the hybrid decomposition of the Pearson's ratio and computes principal axes for rows and polynomial axes for columns, coordinates, weights of rows and columns, total inertia (equal to the Pearson's index) and the rank of the matrix. It allows the analyst to decompose the inertia in terms of the column polynomial components.

Usage

socabasic(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)
socabasic(asbestos, mj)
# }

Run the code above in your browser using DataLab