Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Plot Time serie from CSV in four lines with R
dollar_rate <- read.csv("dollar_rate.csv", colClasses = c("Date", NA))
dollar_rate_ts <- xts(dollar_rate$VALUE, = 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