plot.pwsd {blocklength} | R Documentation |
-
Correlation Implied Hypothesis TestS3 Method for objects of class 'pwsd'
See ?plot.acf
of the stats package for more customization
options on the correlogram, from which plot.pwsd
is based
## S3 method for class 'pwsd'
plot(x, c = NULL, main = NULL, ylim = NULL, ...)
x |
an of object of class 'pwsd' or 'acf' |
c |
a numeric value, the constant which acts as the significance level
for the implied hypothesis test. Defaults to |
main |
an overall title for the plot, if no string is supplied a default
title will be populated. See |
ylim |
a numeric of length 2 giving the y-axis limits for the plot |
... |
Arguments passed on to
|
No return value, called for side effects
# Use S3 Method
# Generate AR(1) time series
sim <- stats::arima.sim(list(order = c(1, 0, 0), ar = 0.5),
n = 500, innov = rnorm(500))
b <- pwsd(sim, round = TRUE, correlogram = FALSE)
plot(b)