Problem 2.1

Use the help function to explore what the series gold, woolyrnq and gas represent.

  1. Use autoplot() to plot each of these in separate plots.
autoplot(gold) + 
  ggtitle('Daily morning gold prices in US dollars. 1 January 1985 – 31 March 1989.') +
  xlab('Year') +
  ylab('Price')

autoplot(woolyrnq) + 
  ggtitle('Quarterly production of woollen yarn in Australia') +
  xlab('Quarter') +
  ylab('Production')