Learn R Programming

NADA (version 1.6-1.1)

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.

References

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

Examples

Run this code
# NOT RUN {
    data(DFe)
    with(DFe, censummary(Summer, SummerCen))
# }

Run the code above in your browser using DataLab