preprocess_FreeSort: Preprocessing for Free Sorting Data

View source: R/preprocess_FreeSort.R

preprocess_FreeSortR Documentation

Preprocessing for Free Sorting Data

Description

For Free Sorting Data, this preprocessing is needed.

Usage

preprocess_FreeSort(Data, NameSub=NULL)

Arguments

Data

data frame or matrix. Corresponds to all variables that contain subjects results. Each column corresponds to a subject and gives the groups to which the products (rows) are assigned

NameSub

string vector. Name of each subject. Length must be equal to the number of clumn of the Data. If NULL, the names are S1,...Sm. Default: NULL

Value

A list with:

  • new_Data: the Data transformed

  • Blocks: the number of groups for each subject

  • NameBlocks: the name of each subject

References

Llobell, F., Cariou, V., Vigneau, E., Labenne, A., & Qannari, E. M. (2018). Analysis and clustering of multiblock datasets by means of the STATIS and CLUSTATIS methods. Application to sensometrics. Food Quality and Preference, in Press.

See Also

clustatis, clustatis_FreeSort

Examples

data(choc)
prepro=preprocess_FreeSort(choc)


ClustBlock documentation built on Aug. 30, 2023, 5:08 p.m.