Learn R Programming

ClustBlock (version 4.0.0)

preprocess_JAR: Preprocessing for Just About Right Data

Description

For JAR data, this preprocessing is needed.

Usage

preprocess_JAR(Data,  nprod, nsub, levelsJAR=3, beta=0.1)

Value

A list with:

  • Datafinal: the Data transformed

  • NameSub: the name of each subject in the right order

Arguments

Data

data frame where the first column is the Assessors, the second is the products and all other columns the JAR attributes with numbers (1 to 3 or 1 to 5, see levelsJAR)

nprod

integer. Number of products.

nsub

integer. Number of subjects.

levelsJAR

integer. 3 or 5 levels. If 5, the data will be transformed in 3 levels.

beta

numerical. Parameter for agreement between JAR and other answers. Between 0 and 0.5.

References

Llobell, F., Vigneau, E. & Qannari, E. M. (September 14, 2022). Multivariate data analysis and clustering of subjects in a Just about right task. Eurosense, Turku, Finland.

See Also

catatis_jar, cluscata_jar, cluscata_kmeans_jar

Examples

Run this code
data(cheese)
prepro=preprocess_JAR(cheese, nprod=8, nsub=72, levelsJAR=5)

Run the code above in your browser using DataLab