Hello, I'm brand new to R and need some beginner's help. I'm just trying to do a basic bar graph, and the Y axis goes crazy and creates noise.
This is my code:
library(ggplot2)
Data3 <- Data2 %>%
select(c(2,7)) %>%
filter(Landings > 1)
ggplot(Data3, aes(x=Year, y=Landings)) + geom_bar(stat="identity") +
labs(x="Year", y="Landings")
I'm not sure if it's the filter I applied? I was just trying to weed out the N/A entries. The new data frame it created looks fine.