lineChart {FinCal}R Documentation

Technical analysts - Line charts: show prices for each period as a continuous line

Description

Technical analysts - Line charts: show prices for each period as a continuous line

Usage

lineChart(ohlc, y = "close", main = "", ...)

Arguments

ohlc

output from get.ohlc.yahoo or get.ohlc.google

y

y coordinates: close, open, high, low or adjusted (yahoo data only)

main

an overall title for the plot

...

Arguments to be passed to ggplot

See Also

get.ohlc.yahoo

get.ohlc.google

Examples

# google <- get.ohlc.yahoo("GOOG"); lineChart(google)
# apple <- get.ohlc.google("AAPL"); lineChart(apple)

[Package FinCal version 0.6.3 Index]