elaborator_calculate_color_index {elaborator} | R Documentation |
Calculates the index of the color vector in the qualitative trend analysis plot
Description
This function is mostly useful for generating the qualitative trend analysis plots. It returns the index of the color for a percentage which is observed for a specific pattern characterized by decreases/stability/increases from one visit to the next.
Usage
elaborator_calculate_color_index(r)
Arguments
r |
numeric value specifying the percentage of patients with a specific pattern of decreased/stable/increased values from one visit to the next |
Value
A numeric value between 1 and 11. This value is used as an index for the color legend in the qualitative trends plot in which darker colors reflect more frequent patterns
[Package elaborator version 1.3.4 Index]