Learn R Programming

nser (version 1.5.3)

daytomonth: Convert Daily data of a stock to Monthly data

Description

Convert Daily data of a stock to Monthly data

Usage

daytomonth(x)

Value

OHLC data in monthly format.

Arguments

x

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

Author

Nandan L. Patil tryanother609@gmail.com

Details

Converts the Daily data of a stock to Monthly data.

See Also

bhavprbhavtodaybhavdaytoweek

Examples

Run this code
# \donttest{
data(dailydata)
daytomonth(dailydata)
# }

Run the code above in your browser using DataLab