mirror of
https://github.com/msberends/AMR.git
synced 2025-07-27 13:07:54 +02:00
(v3.0.0.9015) plotting fix
This commit is contained in:
@ -177,8 +177,8 @@ ggplot_sir <- function(data,
|
||||
nrow = NULL,
|
||||
colours = c(
|
||||
S = "#3CAEA3",
|
||||
SI = "#3CAEA3",
|
||||
SDD = "#8FD6C4",
|
||||
SI = "#3CAEA3",
|
||||
I = "#F6D55C",
|
||||
IR = "#ED553B",
|
||||
R = "#ED553B"
|
||||
|
@ -1490,7 +1490,7 @@ labels_sir_count <- function(position = NULL,
|
||||
}
|
||||
|
||||
expand_SIR_colours <- function(colours_SIR, unname = TRUE) {
|
||||
sir_order <- c("S", "SDD", "I", "R")
|
||||
sir_order <- c("S", "SDD", "SI", "I", "IR", "R")
|
||||
|
||||
if (is.null(names(colours_SIR))) {
|
||||
if (length(colours_SIR) == 1) {
|
||||
|
Reference in New Issue
Block a user