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 > >______________________________________________ >[email protected] 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 ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
