moment_gray_half: Functions to create the background for the bucket plots

View source: R/Bucket_plot.R

moment_gray_halfR Documentation

Functions to create the background for the bucket plots

Description

The functions plot the moment transformed skewness and moment transformed kurtosis of five important 4-parameter distributions in GAMLSS.

Usage


moment_gray_half(legend = FALSE)

moment_gray_both(line_width = 1)

moment_colour_half(legend = TRUE)

moment_colour_both(legend = TRUE, line_width = 1)

centile_colour_half(type = c("tail", "central"), legend = TRUE, 
                   line_width = 1)

centile_colour_both(type = c("tail", "central"), legend = TRUE, 
                   line_width = 1)

centile_gray_both(type = c("tail", "central"), legend = TRUE, 
                  line_width = 0.5)

Arguments

legend

whether legend is required

line_width

line width

type

whether to plot ‘tail’ or ‘central’ skewness and kurtosis.

Details

The functions are described in Rigby et al (2019)

Value

A plot is created.

Note

The functions are use by the bucket plot function model_mom_bucket() to create the background of the bucket plots.

Author(s)

Mikis Stasinopoulos, Bob Rigby and Fernanda de Bastiani

References

Rigby, R. A. and Stasinopoulos D. M. (2005). Generalized additive models for location, scale and shape,(with discussion), Appl. Statist., 54, part 3, pp 507-554.

Rigby, R. A., Stasinopoulos, D. M., Heller, G. Z., and De Bastiani, F. (2019) Distributions for modeling location, scale, and shape: Using GAMLSS in R, Chapman and Hall/CRC. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1201/9780429298547")} An older version can be found in https://www.gamlss.com/.

Stasinopoulos D. M. Rigby R.A. (2007) Generalized additive models for location scale and shape (GAMLSS) in R. Journal of Statistical Software, Vol. 23, Issue 7, Dec 2007, \Sexpr[results=rd]{tools:::Rd_expr_doi("10.18637/jss.v023.i07")}.

Stasinopoulos D. M., Rigby R.A., Heller G., Voudouris V., and De Bastiani F., (2017) Flexible Regression and Smoothing: Using GAMLSS in R, Chapman and Hall/CRC. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1201/b21973")}

(see also https://www.gamlss.com/).

See Also

momentSK, centileSK

Examples

moment_gray_half()
moment_gray_both()
moment_colour_half()
moment_colour_both()

centile_colour_both()
centile_gray_both()
centile_colour_half()

gamlss.ggplots documentation built on Sept. 3, 2023, 5:08 p.m.