Description Usage Arguments Details Value Author(s) Examples
View source: R/iClick_VisAssetPrice.R
This GUI conducts plots of daily asset price, including calendar heatmap and many plots which are not easy to use for new users.
1 | iClick.VisAssetPrice(dat, color4 = "r2b", color5 = "jet")
|
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". |
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.
Output GUI
Ho Tsung-wu <tsungwu@ntnu.edu.tw>, College of Management, National Taiwan Normal University
1 2 3 | #data("IBM")
#assetPrice=IBM[,1]
#iClick.VisAssetPrice(assetPrice)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.