Learn R Programming

extremeStat (version 0.6.0)

distLgofPlot: Distribution rank comparison

Description

Plot rank comparison of fitted distributions calculated by distLgof.

Usage

distLgofPlot(dlf, ranks = TRUE, weights = TRUE, nbest = NA, order = TRUE, add = FALSE, type = "o", col = c(1:3, 8, 4), pch = c(1:4, NA), lty = 1, lwd = 1, legargs = NULL, quiet = FALSE, main = NULL, ...)

Arguments

dlf
List as returned by distLfit, containing the elements gof, gofProp
ranks
plot ranks by different measures of goodness of fit? DEFAULT: TRUE
weights
plot weights in second panel? DEFAULT: TRUE
nbest
Number of distributions plotted by distLplot. DEFAULT: NA
order
If TRUE, the best distribution is at the top. False to compare across different dlfs. DEFAULT: TRUE
add
If TRUE, just the lines and legend are added to an existing plot. DEFAULT: FALSE
type
type of line-point combination as in plot. DEFAULT: "o"
col
Vector with 3 values for line customization. Recycled if necessary. DEFAULT: c(1,3,4)
pch
Vector with 3 values for line customization. Recycled if necessary. DEFAULT: 1:3
lty
Vector with 3 values for line customization. Recycled if necessary. DEFAULT: 1
lwd
Vector with 3 values for line customization. Recycled if necessary. DEFAULT: 1
legargs
List of arguments passed to legend if weights=TRUE, like cex, bg, etc.
quiet
Suppress notes? DEFAULT: FALSE
main
plot titles. DEFAULT: NULL
...
Further arguments passed to plot.

Value

None.

See Also

distLgof, distLfit

Examples

Run this code
# see distLgof

Run the code above in your browser using DataLab