[R] Mean and variance of the right-censored data
Don MacQueen
macq at llnl.gov
Mon Jul 25 16:03:09 CEST 2005
The survival package has functions for fitting models to right censored data.
require(survival)
?survfit
?Surv
-Don
At 12:17 AM +0200 7/25/05, Petr Mandys wrote:
>Hi,
>
>I need to get mean and variance of right censored data. How can I do that?
>
>I have a vector of values (called a) and vector of booleans (whether value
>is censored) (called b). What to do with this? Sorry, I'm R beginner.
>
>Thank you!
>
>Pete
>
>______________________________________________
>R-help at stat.math.ethz.ch mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
--
--------------------------------------
Don MacQueen
Environmental Protection Department
Lawrence Livermore National Laboratory
Livermore, CA, USA
More information about the R-help
mailing list