iClick.VisAssetPrice {iClick} | R Documentation |
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". |
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.
Value
Output GUI
Author(s)
Ho Tsung-wu <tsungwu@ntnu.edu.tw>, College of Management, National Taiwan Normal University
Examples
#data("IBM")
#assetPrice=IBM[,1]
#iClick.VisAssetPrice(assetPrice)
[Package iClick version 1.5 Index]