Introduction
A sample daily data of stock ‘SBIN’. The data has six columns i.e.,
SYMBOL, OPEN, HIGH, LOW, CLOSE, DATE.
library(nser)
data("dailydata")
# Convert daily data to montly data
daytomonth(dailydata)
# Convert daily data to weekly data
daytoweek(dailydata)