Learn R Programming

SensoMineR (version 1.27)

CA_JAR: Make a correspondence analysis on the JAR data

Description

Plot the CA graph.

Usage

CA_JAR(x, col.p, col.j, col.pref, jarlevel="jar")

Value

Draw a CA graph with the preference data as supplementary qualitative variables, the products as rows, and the categories of the jar variables as columns

Arguments

x

data.frame

col.p

the position of the product variable

col.j

the position of the panelist variable

col.pref

the position of the preference variable

jarlevel

a string corresponding to the jar level (the level must be the same for all the jar variables)

Author

Francois Husson

Examples

Run this code
if (FALSE) {
data(JAR)
res <- CA_JAR(x = JAR, col.p = 13, col.j = 1, col.pref = 2, jarlevel = "jar")
plot.CA(res$res.CA, invisible = "row", cex = 0.8)
 }

Run the code above in your browser using DataLab