pick_colour: Pick Colour

Description Usage Arguments

View source: R/write_rgb.R

Description

This function creates a rgba string based on the variable to be studied

Usage

1
pick_colour(variable, alpha = 1, rgb = TRUE)

Arguments

variable

String selecting the variable of study. One of c('confirmed_cases', 'confirmed_deaths', 'total_tests')

alpha

Alpha value of the final colour


aljrico/covidDashboard documentation built on Jan. 29, 2021, 1:08 a.m.