iClick.VisAssetPrice: Visualize Daily Asset Price

Description Usage Arguments Details Value Author(s) Examples

View source: R/iClick_VisAssetPrice.R

Description

This GUI conducts plots of daily asset price, including calendar heatmap and many plots which are not easy to use for new users.

Usage

1
iClick.VisAssetPrice(DAT, color4 = "r2b", color5 = "jet")

Arguments

DAT

DAT must be a 2-column data frame with the 1-st column as the date string, and the 2nd column is the numeric return series.

color4

Color choice for annual calendar heatmap, the default is "r2b".

color5

Color choice for 6-year calendar heatmap, the default is "jet".

Details

This GUI is designed for financial time series, maily daily stock price. Other time series data works also, as long as it has a date column. We call function calendarPlot() from package "openair", and modified the function calendarHeat() to fit daily price.

Value

Output GUI

Author(s)

Ho Tsungwu <[email protected]>

Examples

1
2
3
#data("IBM")
#assetPrice=IBM[,c(1,4)]
#iClick.VisAssetPrice(assetPrice)

iClick documentation built on May 30, 2017, 12:04 a.m.