is.OC {candlesticks} | R Documentation |
functions to check for appropriate OC / HL column names within a data object
is.OC(x) is.HL(x)
x |
data object |
The candlestick package uses check for OHLC data functions from the package quantmod. The functions is.OC and is.HL are not included in quantmod, therefore added into candlesticks
is.OC |
TRUE, if x includes columns for Open and Close |
is.HL |
TRUE, if x includes columns for High and Low |
Andreas Voellenklee
## Not run: getSymbols('YHOO') is.OC(YHOO) is.HL(YHOO) ## End(Not run)