elaborator_calculate_color_index: Calculates the index of the color vector in the qualitative...

Description Usage Arguments Value

View source: R/elaborator_calculate_color_index.R

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

1

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


elaborator documentation built on Feb. 23, 2021, 1:06 a.m.