I'm drawing density plot with ggplot, but in the output it inverts the name of the colors!
This is my script:
ggplot(dataset) +
geom_density( aes( x = `Real Wage 1`, fill = "red"), alpha = 0.5)+
geom_density( aes( x = `Real Wage 2`, fill = "blue"), alpha = 0.5)+
theme_classic()
Why is this happening? Am I setting something wrong?