preprocess_JAR {ClustBlock} | R Documentation |
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)
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. |
Value
A list with:
Datafinal: the Data transformed
NameSub: the name of each subject in the right order
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
data(cheese)
prepro=preprocess_JAR(cheese, nprod=8, nsub=72, levelsJAR=5)
[Package ClustBlock version 4.0.0 Index]