Last active
April 26, 2019 16:43
-
-
Save dgkeyes/7af26ec3cfadeafc5cf47e2048318dab to your computer and use it in GitHub Desktop.
save plots solutions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Save Plots | |
Save your last plot to a PNG that is 8 inches wide and 5 inches high. Put it in the plots directory and call it "my-sleep-plot.png" | |
```{r} | |
ggsave(filename = "plots/my-sleep-plot.png", | |
height = 5, | |
width = 8, | |
unit = "in") | |
``` | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment