toWideMatrix {cata} | R Documentation |
Converts 3d array of CATA data to a wide 2d matrix format
Description
Converts a three-dimensional array (I
assessors, J
products, M
attributes) to a two-dimensional matrix
(J
products, (I
assessors, M
attributes))
Usage
toWideMatrix(X)
Arguments
X |
three-dimensional array ( |
Value
A matrix with J
products in rows and I
assessors * M
attributes in columns
Examples
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])
[Package cata version 0.1.0.6 Index]