Skip to contents

Define a consistent color palette for use in figures

Usage

parameter_palette(x = NULL)

Arguments

x

a list of parameters. Optional. If missing, the entire palette is returned.

Value

a named list of colors that can be used in forest plots for manually setting colors with for example scale_color_manual

Author

Sangeeta Bhatia

Examples

parameter_palette()
#> $`Basic (R0)`
#> [1] "#D95F02"
#> 
#> $`Reproduction number (Basic R0)`
#> [1] "#D95F02"
#> 
#> $`Effective (Re)`
#> [1] "#7570B3"
#> 
#> $`Reproduction number (Effective, Re)`
#> [1] "#7570B3"
#>