construct_color_scales | R Documentation |
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
)
plot_data |
A data frame with the plot data. |
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. |
timing_atc_group_colors |
A character vector with the colors for the ATC groups. |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.