Learn R Programming

iClick (version 1.5)

iClick.VisAssetPrice: Visualize Daily Asset Price

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

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

Arguments

dat

Time series object,xts.

color4

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

color5

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

Value

Output GUI

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, which is limited to 11 years.

Examples

Run this code
# NOT RUN {
#data("IBM")
#assetPrice=IBM[,1]
#iClick.VisAssetPrice(assetPrice)
# }

Run the code above in your browser using DataLab