Skip to content

Instantly share code, notes, and snippets.

@joaomacalos
Last active June 15, 2021 13:41
Show Gist options
  • Select an option

  • Save joaomacalos/0c5563598c34dc80a8b3cde9a44d915d to your computer and use it in GitHub Desktop.

Select an option

Save joaomacalos/0c5563598c34dc80a8b3cde9a44d915d to your computer and use it in GitHub Desktop.
Comparison-R2
# Plot
commodities %>%
ggplot(aes(x=date, y=comm)) +
geom_line(aes(color='All commodity prices (IMF)')) +
theme(
legend.position = c(.8, .1),
legend.title = element_blank()
) +
labs(x="", y="") +
scale_color_manual(values="black")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment