Learn R Programming

CoSMoS (version 2.2.0)

plot.fitACS: Plot method for fitACS objects

Description

Displays the empirical ACF alongside the fitted theoretical autocorrelation structure.

Usage

# S3 method for fitACS
plot(x, ...)

Value

a ggplot object (invisibly returned; also printed)

Arguments

x

a fitACS object returned by fitACS

...

currently unused

See Also

fitACS

Examples

Run this code

x <- arima.sim(model = list(ar = 0.8), n = 1000)
acsfit <- fitACS(acf(x, plot = FALSE)$acf, "weibull", c(1, 1))
plot(acsfit)

Run the code above in your browser using DataLab