Description Usage Arguments Value details Author(s) References See Also Examples
Create a censored object, usually used as a response variable in a model formula.
1 |
obs |
A numeric vector of observations. This includes both censored and uncensored observations. |
censored |
A logical vector indicating TRUE where an observation in obs is censored (a less-than value) and FALSE otherwise. |
type |
character string specifying the type of censoring. Possible values are
|
An object of class Cen
.
This, and related routines, are front ends to routines in the
survival
package. Since the survival routines can not handle
left-censored data, these routines transparently handle “flipping"
input data and resultant calculations. The Cen
function provides
part of the necessary framework for flipping.
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.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.