fish497-2018 / McLean-Ratfish

0 stars 1 forks source link

Suggested Code #4

Open raegan13 opened 6 years ago

raegan13 commented 6 years ago

I'd love to see an image for your graph, have you considered using ggsave?

# Create a figures directory prior to running this code
ggplot(ratfish_data_rounded, aes(rounded_latitude, Ratfish_BiomassDensity.kg.ha.)) +
  geom_bar(stat = "summary", fun.y = "mean") +
  theme_classic()
ggsave("figures/<file_name>.jpg")

(Please add an enhancement label to this issue)

cohenr7 commented 6 years ago

I think this is already in your code, but adding labels also will help to make sure that they say what you want to describe the data in the bar graph