ca.percept: Perceptual map-like Correspondence Analysis scatterplot

Description Usage Arguments Examples

View source: R/ca_percept.R


This command allows to plot a variant of the traditional Correspondence Analysis scatterplots that allows facilitating the interpretation of the results. It aims at producing what in marketing research is called perceptual map, a visual representation of the CA results that seeks to avoid the problem of interpreting inter-spatial distance. It represents only one type of points (say, column points), and "gives names to the axes" corresponding to the major row category contributors to the two selected dimensions.


ca..percept.(data, x = 1, y = 2, focus = "row", dim.corr = x, guide = FALSE)



contingency table, in dataframe format.

x, y:

dimensions to be plotted.


takes "row" (default) if the interest is in assessing the contribution of the rows to the definition of the dimensions, "col" if the interest is on the columns.


dimension for which the points' correlation (column points if focus is set to "row", row points if focus is set to "col") will be computed and used as input value for the size of the points. The default value is the smaller of the two input dimensions (i.e., x).


TRUE or FALSE (default) if the user does or doesn't want the points being given a color code indicating with which of the two selected dimension they have a higher relative correlation.


#ca.percept(brand_coffee,1,2,focus="col",dim.corr=1, guide=FALSE)
#In the returned plot, axes are given names according to the major contributing column categories (i.e., coffee brands in this datset), while the points correspond to the row categories (i.e., attributes). Points' size is proportional to the correlation of points with the 1st dimension.
#If 'guide' is set to TRUE, the returned plot is similar to the preceding one, but the points are given colour according to whether they are more correlated (in relative terms) to the first or to the second of the selected dimensions. In this example, points flagged with "->Dim 1" are more correlated to the 1st dimension, while those flagged with "->Dim 2" have a higher correlation with the 2nd dimension.

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