Description Usage Arguments Value
fun_RollingCorrelation
1 2 3 4 5 6 | fun_RollingCorrelation(list = list(BTC = BTC.daily, ETH = ETH.daily, XRP
= XRP.daily, BCH = BCH.daily), dep = "BTC", period = c("minutes",
"hours", "days", "weeks", "months", "quarters", "years"),
savePlot = FALSE, margin = 10,
outputFig = c("C:/Users/Soren Schwartz/Dropbox/Egne dokumenter/Skole/master/opgave/Figures/"),
width = 8, height = 6)
|
list |
List of daily data with mean and sd in second and third row |
dep |
The currency the other cryptocurrencies compares against |
period |
Period one want to convert data to. One can choose "days", "weeks", "months", "quarters" or "years" |
savePlot |
If one want to save plot |
margin |
Number used for rolling window |
outputFig |
Output path if one have said TRUE to saveplot |
width |
Width of plot saved |
height |
heigh of plot saved |
A list
name cor_plot |
description Plot with time series of rolling correlation |
name corData |
description Data with rolling correlation values |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.