daytomonth: Convert Daily OHLC data of a stock to Monthly data"

knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

Introduction

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)


Try the nser package in your browser

Any scripts or data that you put into this service are public.

nser documentation built on Sept. 19, 2023, 5:06 p.m.