I could use some advice on controlling line types in a ggplot. I have a plot in which line types (and colors) are chosen automatically. I would like to have some control, in particular, I would like the last line to be solid. In what may be a complication, there are 7 lines.
My code is
long_leverage |> ggplot(aes(x=theDate, y = Leverage, color = Country, linetype = Country)) + geom_line() + theTheme + labs(color = "Countries", linetype = "Countries") + xlab("") + ylab("leverage")
The picture that results is
I would like the US to be solid rather than Australia. (Not a reprex because the data has 2000+ rows.)