daytomonth: Convert Daily data of a stock to Monthly data

View source: R/daytomonth.R

daytomonthR Documentation

Convert Daily data of a stock to Monthly data

Description

Convert Daily data of a stock to Monthly data

Usage

daytomonth(x)

Arguments

x

dataframe containing stock data with columns SYMBOL, OPEN, HIGH, LOW, CLOSE & DATE.

Details

Converts the Daily data of a stock to Monthly data.

Value

OHLC data in monthly format.

Note

The dataframe should contain six columns named SYMBOL, OPEN, HIGH, LOW, CLOSE & DATE.

Author(s)

Nandan L. Patil tryanother609@gmail.com

See Also

bhavprbhavtodaybhavdaytoweek

Examples


data(dailydata)
daytomonth(dailydata)



nandp1/nser documentation built on Nov. 15, 2024, 4:04 a.m.