censtats | R Documentation |
A convenience function that produces a comparative table of
summary statistics obtained using the cenros
, cenmle
and cenfit
routines. These methods are, Regression on
Order Statistics (ROS), Maximum Likelihood Estimation (MLE), and
Kaplan-Meier (K-M).
censtats(obs, censored)
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. |
If the data do not fulfill the criteria for the application of any method no summary statistics will be produced.
A dataframe with the summary statistics.
R. Lopaka Lee <rclee@usgs.gov>
Dennis Helsel <dhelsel@practicalstats.com>
Helsel, Dennis R. (2005). Nondectects and Data Analysis; Statistics for censored environmental data. John Wiley and Sons, USA, NJ.
data(DFe)
with(DFe, censtats(Summer, SummerCen))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.