powered by
Converts a three-dimensional array (\(I\) assessors, \(J\) products, \(M\) attributes) to a two-dimensional matrix (\(J\) products, (\(I\) assessors, \(M\) attributes))
toWideMatrix(X)
A matrix with J products in rows and \(I\)
J
assessors \(\times M\) attributes in columns
three-dimensional array (\(I\) assessors, \(J\) products, \(M\) attributes) where values are 0 (not checked) or 1 (checked)
0
1
J.C. Castura
data(bread) # convert CATA results from the first 8 consumers and the first 4 attributes # to a wide matrix toWideMatrix(bread$cata[1:8,,1:4])
Run the code above in your browser using DataLab