Learn R Programming

CoSMoS (version 2.2.0)

plot.acti: Plot method for acti objects

Description

Visualises the autocorrelation transformation function (ACTF) fitted by fitactf.

Usage

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

Value

a ggplot object (invisibly returned; also printed)

Arguments

x

an acti object returned by fitactf

...

optional arguments; main sets the plot title

See Also

fitactf, actpnts

Examples

Run this code

library(CoSMoS)

p   <- actpnts(margdist = "paretoII",
               margarg  = list(scale = 1, shape = .3),
               p0 = 0)
fit <- fitactf(p)

plot(fit)
plot(fit, main = "Pareto type II\nautocorrelation transformation")

Run the code above in your browser using DataLab