mlqqplot: Mittag-Leffler QQ Plot

Description Usage Arguments Examples

View source: R/diagnostics.R

Description

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

Usage

1
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

1
2
3
4
5
  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')

CTRE documentation built on May 2, 2019, 9:34 a.m.