getb {cata} | R Documentation |
Calculate the b-measure
Description
Function to calculate the b-measure, which quantifies the sensory differentiation retained.
Usage
getb(X.b, X.c, oneI = FALSE, oneM = FALSE)
Arguments
X.b |
three-way ( |
X.c |
array of same dimension as |
oneI |
indicates whether calculation is for one assessor (default:
|
oneM |
indicates whether calculation is for one attribute (default:
|
Value
b-measure
References
Castura, J.C., Meyners, M., Varela, P., & Næs, T. (2022). Clustering consumers based on product discrimination in check-all-that-apply (CATA) data. Food Quality and Preference, 104564. doi:10.1016/j.foodqual.2022.104564.
Examples
data(bread)
bread.bc <- barray(bread$cata[1:8,,1:5])
getb(bread.bc[,,1,], bread.bc[,,2,])
[Package cata version 0.1.0.6 Index]