Created
February 13, 2022 17:19
-
-
Save CodeMaster7000/db3ed42ceb3e19ea450025cb16eeb79c to your computer and use it in GitHub Desktop.
A line graph coded in R which compares and contrasts the amount of rainfall per month in two cities.
This file contains hidden or 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
| v <- c(7,12,28,3,41) | |
| t <- c(14,7,6,19,3) | |
| plot(v,type = "o",col = "red", xlab = "Month", ylab = "Rainfall (mm)", | |
| main = "Rainfall Chart") | |
| lines(t, type = "o", col = "blue") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment