Displaying 1 result from an estimated 1 matches for "19860709".
2016 Apr 23
2
Data Frame Column Name Attribute
...open.
I did a lot of google searches but really could not find what i was looking
for. Any help is greatly appreciated. Thank you!
tdata[["newcol2"]] <- rbind(0,apply(tdata["Open"],2,diff))
> str(tdata)
'data.frame': 7505 obs. of 8 variables:
$ Date : int 19860709 19860710 19860711 19860714 19860715 19860716
19860717 19860718 19860721 19860722 ...
$ Open : num 9.14 9.45 9.3 9.08 8.71 ...
$ High : num 9.45 9.51 9.35 9.08 8.71 ...
$ Low : num 9.03 9.14 9.03 8.65 7.96 ...
$ Close : num 9.4 9.35 9.03 8.76 8.5 ...
$ Volume : int 332719 180049 23...