S3 Method for objects of class 'hhj'
# S3 method for class 'hhj'
plot(x, iter = NULL, ...)
an object of class 'hhj'
a vector of hhj()
iterations to plot. NULL
. All
iterations are plotted by default.
Arguments passed on to base::plot
y
the y coordinates of points in the plot, optional
if x
is an appropriate structure.
No return value, called for side effects
# \donttest{
# Generate AR(1) time series
sim <- stats::arima.sim(list(order = c(1, 0, 0), ar = 0.5),
n = 500, innov = rnorm(500))
# Generate 'hhj' class object of optimal block length for series
hhj <- hhj(sim, sub_sample = 10)
#> Pilot block length is: 3
#> Performing minimization may take some time
#> Calculating MSE for each level in subsample: 10 function evaluations required.
#> Chosen block length: 22 After iteration: 1
#> Converged at block length (l): 22
## S3 method for class 'hhj'
plot(hhj)
# }