Graphical comparison of multiple fitted distributions

Description

eccomp plots the empirical exposure curve distribution against fitted exposure curve functions.

Usage

1
2
3
4
5
eccomp(ft, xlim, ylim, main, xlab, ylab, do.points=TRUE,
                    datapch, datacol, fitlty, fitcol, addlegend = TRUE, 
                   legendtext, xlegend = "bottomright", 
                    ylegend = NULL, ...)
    

Arguments

ft

One "DR" object or a list of objects of class "DR".

xlim

The x-limits of the plot.

ylim

The y-limits of the plot.

main

A main title for the plot, see also title.

xlab

A label for the x-axis, defaults to a description of x.

ylab

A label for the y-axis, defaults to a description of y.

datapch

An integer specifying a symbol to be used in plotting data points, see also points.

datacol

A specification of the color to be used in plotting data points.

fitcol

A (vector of) color(s) to plot fitted distributions. If there are fewer colors than fits they are recycled in the standard fashion.

fitlty

A (vector of) line type(s) to plot fitted distributions/densities. If there are fewer colors than fits they are recycled in the standard fashion. See also par.

addlegend

If TRUE, a legend is added to the plot.

legendtext

A character or expression vector of length ≥q 1 to appear in the legend, see also legend.

xlegend, ylegend

The x and y co-ordinates to be used to position the legend. They can be specified by keyword or in any way which is accepted by 'xy.coords': see legend for details.

do.points

logical; if TRUE, also draw points at the x-locations. Default is true. For large dataset (n > 1e4), do.points is ignored and no point is drawn.

...

Further graphical arguments passed to graphical functions used in cdfcomp, denscomp, ppcomp and qqcomp.

Details

eccomp provides a exposure curve plot of each fitted distribution along with the eecf.

By default a legend is added to these plots. Many graphical arguments are optional, dedicated to personalize the plots, and fixed to default values if omitted.

Author(s)

Christophe Dutang.

See Also

See plot, legend, eecf.

Examples

1
# (1)