Description Usage Arguments Examples
View source: R/plotting_functions.R
Plot a visual representation of the autocorrelation function of a given functional time series, including the upper i.i.d. bound.
1 |
rho |
Autocorrelation values for each lag of
the functional time series obtained by calling the
function |
Blueline |
The upper prediction bound for the
i.i.d. distribution obtained by calling the
function |
ci |
Value between 0 and 1 that was used
when calling the function |
... |
Further arguments passed to the |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | # Example 1
N <- 100
v <- seq(from = 0, to = 1, length.out = 10)
sig <- 2
bbridge <- simulate_iid_brownian_bridge(N, v, sig)
nlags <- 15
upper_bound <- 0.95
fACF <- obtain_FACF(Y = bbridge,v = v,nlags = nlags,ci=upper_bound,figure = FALSE)
plot_FACF(rho = fACF$rho,Blueline = fACF$Blueline,ci = upper_bound)
# Example 2
N <- 200
v <- seq(from = 0, to = 1, length.out = 30)
sig <- 2
bbridge <- simulate_iid_brownian_bridge(N, v, sig)
nlags <- 15
upper_bound <- 0.95
fACF <- obtain_FACF(Y = bbridge,v = v,nlags = nlags,ci=upper_bound,figure = FALSE)
plot_FACF(rho = fACF$rho,Blueline = fACF$Blueline,ci = upper_bound)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.