evaluate: evaluate

Description Usage Arguments Examples

View source: R/evaluate.R

Description

This function returns the Correspondence Analysis scatterplot of row/column categories with a 2nd order polynomial fit. The Rsquared value is reported in the plot's subtitle. The function allows gauging to what extent the seriation structure (if any) embedded in the data approximates to a 'perfect' seriation.

Usage

1
evaluate(data, x = 1, y = 2, which)

Arguments

x, y:

The dimensions to be plotted (1st and 2nd by default).

data:

Dataframe containing the contingency table to be analysed.

which:

use R for rows, C for colums.

Examples

1
2
data("cemetery"): load the dataset 'cemetery'
evaluate(cemetery,1,2,which='R'): plot the Correspondence Analysis scatterplot of row categories (using the 'cemetery' dataset), displaying the 1 and 2 dimensions; a 2nd order polynomial fit is displayed and the Rsquared value is reported.

gianmarcoalberti/CAseriation_0.2 documentation built on Aug. 13, 2017, 10:47 a.m.