rows.cntr: Rows contribution chart

Description Usage Arguments Examples

View source: R/rows_cntr.R

Description

This function allows to calculate the contribution of the row categories to the selected dimension. The function returns a dot plot in which a reference line indicates the threshold for a significant (i.e., important for the sake of dimension interpretation) contribution. By selecting one of the function's parameters as true (i.e., cti=T), the plot will also show the contributions to the total inertia, which is represented by hollow circles. This option allows to compare the contribution of each category to the inertia of the dimension in the overall framework of its contribution to the overall inertia of the input contingency table.

Usage

1
rows.cntr(data, x = 1, cti = FALSE)

Arguments

data:

name of the dataset.

x:

dimension for which the row categories contribution is returned (1st dimension by default).

cti:logical

value (TRUE/FALSE) which specifies if the contribution to the total inertia must be displayed as well (FALSE by default).

Examples

1
2
data(greenacre_data)
rows.cntr(greenacre_data, 2, T) # Returns the contribution of the row categories to the first 2 CA dimensions, and also displays the contribnution to the total inertia.

gianmarcoalberti/CAinterprTools_0.7 documentation built on May 14, 2017, 10:51 a.m.