sort.table: sort.table

Description Usage Arguments Examples

Description

This function allows to sort the input contingency table according to the score of row and column categories on the selected Correspondence Analysis dimension. Two plots are returned, displaying the sorted contingency table. Note that the two plots are the same, except for the fact that one is the transposed version of the other. An Excel file (named CAseriation.xlsx) is also created in the R working directory, containing the original dataset, the sorted table, and the sorted table converted into presence/absence data.

Usage

1

Arguments

data:

Dataframe containing the contingency table to be analysed.

dim:

The number of the dimension (from 1 to 5) to be used to sort the contingency table (i.e., to perfom the seriation).

Examples

1
sort.table (mydata,1): sort the contingency table (contained in the dataframe 'mydata') according to the score of row and column categories on the 1 dimension of Correspondence Analysis.

trinker/CAseriation documentation built on May 31, 2019, 8:40 p.m.