| toTallMatrix | R Documentation |
Converts a three-dimensional array (I assessors, J
products, M attributes) to a two-dimensional matrix with
(I assessors, J products) rows and (M
attributes) columns, optionally preceded by two columns of row headers.
toTallMatrix(X, header.rows = TRUE)
X |
three-dimensional array ( |
header.rows |
|
matrix with I assessors \times J products in rows
and M attributes in columns (optionally preceded by 2 columns of
headers if header.rows = TRUE)
J.C. Castura
# convert CATA results from the first 8 consumers and the first 4 attributes
# to a tall matrix
toTallMatrix(bread$cata[1:8,,1:4])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.