plotTimeSeriesObject: Plot time series object in ggplot

Description Usage Arguments Value Examples

Description

Plot time series object in ggplot

Usage

1
2
3
plotTimeSeriesObject(xtsTimeSeriesObject, plotTitle = "Plot of Time Series",
  yTitle = "Time Series Value", yLabelType = "comma", xTitle = "Date",
  legendTitle = "Ticker", levels = "raw", interactive = FALSE)

Arguments

xtsTimeSeriesObject

an xts matrix of *levels*

plotTitle

character string of plot title

yTitle

character string of y-axis title

yLabelType

is a string, one of "dollar", "percent", "scientific", "comma"; defaults to comma

xTitle

title for x-axis, defaults to "Date"

legendTitle

title for legend, defaults to "Ticker"

levels

character string, one of "linear", "continuous" or "raw"; if "raw", passes the timeSeries as-is for plotting, othwerise, will convert vector into an index (e.g. Prices) based on the selection of "linear" or "continuous" returns; defaults to "raw"

interactive

logical, whether or not to render in plotly for interactive use of plot; defaults to FALSE

Value

a timeseries plot (ggplot)

Examples

1
none

erolbicero/propfolio documentation built on May 16, 2019, 8:48 a.m.