cenxyplot: Produces a censored x-y scatter plot

Description Usage Arguments Author(s) References Examples

Description

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

Usage

1
    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

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

Example output

Loading required package: survival

Attaching package: 'NADA'

The following object is masked from 'package:stats':

    cor

NADA documentation built on March 22, 2020, 5:07 p.m.

Related to cenxyplot in NADA...