Hi everyone,
I am getting an error.... and unfortunatelly can´t see what I am doing wrong...any ideas?
titanic %>%
pivot_longer(cols = everything(), names_to ="key", values_to = "value") %>%
ggplot(aes(x = value, color = "red", fill = "white")) +
geom_density (alpha = .7)
Error: Can't combine pclass and sex . Run rlang::last_error() to see where the error occurred