| CompositeData-class | R Documentation |
A S4 class to represent data for creating a composite
rawdataA data frame of the data to be used for the composite scores
groupsA character string, the same length as the number of rows of the data indicating to which group each row belong. May be all the same if only one group present in the data.
thresholdsA list with as many elements as there are unique groups in the data, and where each element is a vector the same length as the number of columns in the data frame, indicating the reference thresholds for each variable, by group (all the same if only one group).
higherisbetterA logical vector the same length as the number of
columns in the data frame, indicating whether higher is better for
each variable (if TRUE) and otherwise (if FALSE) that
lower is better, indicating that variable should be reversed.
kThe number of variables as an integer.
rawtransA list of functions to transform the raw data (and thresholds).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.