daytoweek {nser} | R Documentation |
Convert Daily data of a stock to Weekly data
Description
Convert Daily data of a stock to Weekly data
Usage
daytoweek(x)
Arguments
x |
dataframe containing stock data with columns SYMBOL, OPEN, HIGH, LOW, CLOSE & DATE. |
Details
Converts the Daily data of a stock to Weekly data.
Value
Dataframe with Weekly data.
Note
The dataframe should contain six columns named SYMBOL, OPEN, HIGH, LOW, CLOSE & DATE.
Author(s)
Nandan L. Patil tryanother609@gmail.com
See Also
Examples
library(nser)
data(dailydata)
daytoweek(dailydata)
[Package nser version 1.5.3 Index]