Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

cenxyplot

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))

NADA

Nondetects and Data Analysis for Environmental Data

v1.6-1.1
GPL (>= 2)
Authors
Lopaka Lee
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.