Data Science Desktop Survival Guide
by Graham Williams |
|||||
Pipes and Plots |
cities <- c("Canberra", "Darwin", "Melbourne", "Sydney")
ds %>% filter(location %in% cities) %>% filter(temp_3pm %>% is.na() %>% not()) %>% ggplot(aes(x=temp_3pm, colour=location, fill=location)) + geom_density(alpha=0.55) + labs(title = "Density Distributions of the 3pm Temperature", x = "Temperature Recorded at 3pm", y = "Density")
|