cenxyplot {NADA}R Documentation

Produces a censored x-y scatter plot

Description

Draws a x-y scatter plot with censored values represented by dashed lines spanning the from the censored threshold to zero.

Usage

    cenxyplot(x, xcen, y, ycen, log="", lty="dashed", ...)

Arguments

x

A numeric vector of observations.

xcen

A logical vector indicating TRUE where an observation in x is censored (a less-than value) and FALSE otherwise.

y

A numeric vector of observations.

ycen

A logical vector indicating TRUE where an observation in y is censored (a less-than value) and FALSE otherwise.

log

A character string which contains '"x"' if the x axis is to be logarithmic, '"y"' if the y axis is to be logarithmic and '"xy"' or '"yx"' if both axes are to be logarithmic. Default is '""', or both axis linear.

lty

The line type of the lines representing the censored-data ranges.

...

Additional items that get passed to plot.

Author(s)

R. Lopaka Lee <rclee@usgs.gov>

Dennis Helsel <dhelsel@practicalstats.com>

References

Helsel, Dennis R. (2005). Nondectects and Data Analysis; Statistics for censored environmental data. John Wiley and Sons, USA, NJ.

Examples

    data(DFe)
    with(DFe, cenxyplot(Year, YearCen, Summer, SummerCen))

[Package NADA version 1.6-1.1 Index]