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

censummary

Produces basic summary statistics on censored data


Description

Produces basic, and hopefully useful, summary statistics on censored data.

Usage

censummary(obs, censored, groups)

Arguments

obs

A numeric vector of observations.

censored

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

groups

A factor vector used for grouping ‘obs’ into subsets.

Value

A censummary object.

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, censummary(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.