util_colorScheme: Color scheme for charts

Description Usage Value Author(s) Examples

Description

Custom color scheme for charts based on ggplot2 discrete scale.

Usage

1

Value

Constructed ggplot2 discrete color scheme.

Author(s)

Kostin Andrey <andrey.kostin@portfolioeffect.com>

Examples

1
2
3
4
5
6
7
## Not run: 
data(aapl.data) 
aapl.frame=data.frame(Data=aapl.data[,2],Time=as.POSIXct(aapl.data[,1]/1000, 
origin = "1970-01-01", tz = "America/New_York"),legend='AAPL')
ggplot() + geom_line(data=aapl.frame, aes(x=Time,y=Data,col=legend))+util_colorScheme()

## End(Not run)

PortfolioEffectHFT documentation built on May 2, 2019, 11:52 a.m.