View source: R/reason_dataleaks.R View source: R/calc_distance.R
reason_dataleaks | R Documentation |
Correlation calculation based on rolling window with overlapping observations.
Correlation calculation based on rolling window with overlapping observations.
reason_dataleaks(lstx, finddataleaksout, h, ang = 0)
reason_dataleaks(lstx, finddataleaksout, h, ang = 0)
lstx |
list of time series |
finddataleaksout |
list, the output generated from find_dataleaks function |
h |
length of the window size |
ang |
angle at which the tick and axis labels should be displayed (default 0) |
matrix visualizing the output
matrix visualizing the output
a = rnorm(15)
lst <- list(
a = a,
b = c(a[10:15], rnorm(10), a[1:5]+10, a[1:5]),
c = c(rnorm(10), a[1:5])
)
f1 <- find_dataleaks(lst, h=5)
reason_dataleaks(lst, f1, h=5)
# List without naming elements
lst <- list(
a,
c(rnorm(10), a[1:5], a[1:5]),
rnorm(10)
)
f2 <- find_dataleaks(lst, h=5)
reason_dataleaks(lst, f2, h=5)
a = rnorm(15)
lst <- list(
a = a,
b = c(a[10:15], rnorm(10), a[1:5], a[1:5]),
c = c(rnorm(10), a[1:5])
)
f1 <- find_dataleaks(lst, h=5)
reason_dataleaks(lst, f1, h=5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.