Last active
July 28, 2017 23:10
-
-
Save CristhianBoujon/35291cb6e3d8934d79c6dbadec864d32 to your computer and use it in GitHub Desktop.
Plot Time serie from CSV in four lines with R
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
library(xts) | |
dollar_rate <- read.csv("dollar_rate.csv", colClasses = c("Date", NA)) | |
dollar_rate_ts <- xts(dollar_rate$VALUE, order.by = dollar_rate$DATE) | |
plot(dollar_rate_ts, main = "Dollar Rate", xlab = "Date", ylab = "$") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment