This function takes a
data.frame and the number of rating categories
and produces a three-way array of
maxcat indicator matrices, one for each of the
x must be a
data.frame of dimensions
which contains the ratings on a scale of 1 to
m items. Note that missing values
NA's) will not appear in the columns.
an integer indicating the maximum of the rating scale (which is assumed to start with 1)
logical indicating whether to add a designated category for missings or not. Defaults to TRUE.
A list of rating by item indicator matrices.
Pieter C. Schoonees
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.