knitr::opts_chunk$set(echo = TRUE)

R Markdown

Read my portfolio table.

library(stockr)
mystock.file <- system.file("extdata", "fred.csv", package = "stockr")
st <- stockr::StockTable(mystock.file)

Including Plots

You can also embed plots, for example:

plot(pressure)

Note that the echo = FALSE parameter was added to the code chunk to prevent printing of the R code that generated the plot.



fredericgo/stockr documentation built on May 16, 2019, 2:42 p.m.