Timeseries analysis on R

Welcome to the forum!
There are lots of knowledgeable people here who would be happy to help, but to make that possible, they will need to know more about what you're trying to do.

I'm guessing you might be interested in visualizing the relationship between these two measures over time. The tidyverse set of packages makes it pretty straightforward to load the data, transform it into the structure you want, and visualize it. Or maybe you want to regress oil (prices, I'm guessing) against the exchange rate? In any case, you can get a good background for each of these steps in the R4DS book, available free online:

2 Likes