CA_JAR: Make a correspondence analysis on the JAR data

Description Usage Arguments Value Author(s) Examples

View source: R/CA_JAR.R

Description

Plot the CA graph.

Usage

1
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)

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

Author(s)

Francois Husson

Examples

1
2
3
4
5
6
## 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)

Example output

Loading required package: FactoMineR

SensoMineR documentation built on July 2, 2020, 1:56 a.m.