Hello,
i'm trying to change the linetypes in my plot. This is what i've tried but it's not working.. Thank you!
p<- Counterfactual %>%
ggplot(aes(x=Date, y = Guests, color = City)) +
geom_line() +
scale_y_continuous(limits = c(1000000,3000000)) +
theme_classic() +
labs(title = "Recap",
x="Time", y="Guests") +
theme(plot.title = element_text(hjust=0.5)) +
theme(legend.justification=c(1,0), legend.position = c(1,0))+
scale_color_manual(values=c('darkcyan','darkgreen','blue',
'black','darkcyan','darkgreen','blue')) +
scale_linetype_manual(values=c("dashed","dotted","dashed","dotted",
"dotted","dashed","dotted"))
p + geom_vline(xintercept=as.numeric(Counterfactual$Date[31]),
linetype=3,size=0.8)