
Last chance! 50% off unlimited learning
Sale ends in
The construct_color_scales()
function constructs the color scales for the
summary plot.
construct_color_scales(
plot_data,
comedication_count_colors = NULL,
medication_frequency_colors = NULL,
timing_atc_group_colors = NULL
)
A list with the color scales:
comedication_count_colors
a character vector with the colors for the
comedication count.
medication_frequency_colors
a character vector with the colors for the
medication frequency.
medication_frequency_linetype
a numeric vector with the linetypes for the
medication frequency.
timing_atc_group_colors
a character vector with the colors for the ATC
groups.
A data frame with the plot data.
A character vector with the colors for the comedication count.
A character vector with the colors for the medication frequency.
A character vector with the colors for the ATC groups.