Learn R Programming

CTRE (version 0.1.0)

mlqqplot: Mittag-Leffler QQ Plot

Description

Generates a QQ plot for assessing the fit of a Mittag-Leffler distribution.

Usage

mlqqplot(x, tail = 1, scale = NULL, ...)

Arguments

x

A vector of data to be compared against the Mittag-Leffler distribution.

tail

Tail parameter of the Mittag-Leffler population. Default is 1, i.e. the exponential distribution.

scale

Scale parameter of the Mittag-Leffler population, if known.

...

Additional plotting arguments, e.g. log = 'xy'.

Examples

Run this code
# NOT RUN {
  library(magrittr)
  flares %>% ctre() %>% thin(k=200) %>% interarrival() %>% mlqqplot(tail = 1, log = 'xy')
  flares %>% ctre() %>% thin(k=200) %>% interarrival() %>% mlqqplot(tail = 0.8, log = 'xy')

  seaquakes %>% ctre() %>% thin(k=150) %>% interarrival() %>% mlqqplot(tail = 0.9, log = 'xy')
# }

Run the code above in your browser using DataLab