qqgh: Draw a Q-Q plot based on g-and-h distribution

Description Usage Arguments Value Examples

View source: R/qqplot.R

Description

Draw a quantile-quantile plot based on the Tukey's g-and-h distribution.

Usage

1
qqgh(x, theta = NULL, qqline = TRUE, grid = TRUE, ...)

Arguments

x

either data as a numeric vector, or an object of class fitGH, as returned by fitGH().

theta

parameters of the g-and-h distribution as a numeric vector of length four: (a, b, g, h). If argument x is a fitGH object, and argument theta is NULL, theta will be initialised with coef(x).

qqline

if TRUE (default) a Q-Q line will be added to the graph by means of qqline()

grid

if TRUE (default) a Q-Q line will be added to the graph by means of grid().

...

other arguments passed to qqplot().

Value

A named list with the following components:

Examples

1
2
3
data("EPWS2014")
modII <- fitGH(EPWS2014)
qqgh(modII)

tukeyGH documentation built on April 10, 2021, 9:06 a.m.