CA_JAR function

Make a correspondence analysis on the JAR data

Make a correspondence analysis on the JAR data

Plot the CA graph.

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

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)

Returns

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

Author(s)

Francois Husson

Examples

## Not run: 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) ## End(Not run)