vignettes/mqim6604-assignment_template.R

## ----setup, include = FALSE----------------------------------------------
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

## ---- results='asis', echo=FALSE-----------------------------------------
cat("`` `r 2+2` ``")

## ----eval=FALSE----------------------------------------------------------
#  library(quantmod,quietly=TRUE)
#  getSymbols("^GSPC")
#  head(GSPC)

## ----message=FALSE,warning=FALSE-----------------------------------------
library(quantmod,quietly=TRUE)
getSymbols("^GSPC")
head(GSPC)

## ------------------------------------------------------------------------
library(quantmod)
getSymbols("^GSPC")
chart_Series(GSPC)
jspinney-nbimc/mqim6604 documentation built on May 25, 2019, 6:25 p.m.