Saving graphs and plots
saving graphs and plots in R:
saving graphs and plots in R:
ggsave function helps to save plots into files:
p <- ggplot(mtcars,
aes(x = wt , y = mpg)) +
geom_point()
ggsave(p, filename = "mygraph.png")
The final notebook to reproduce this visualization is provided here: https://colab.research.google.com/drive/1iIInejNg1H_ZAB_X4QeUL4btGJcEJi6I?usp=sharing