knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
Convert the Daily OHLC data of a stock to Monthly data. The data frame should contain six columns named SYMBOL
, OPEN
, HIGH
, LOW
, CLOSE
, DATE
.
library(nser) data(dailydata) daytomonth(dailydata)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.