Re: [R] compare mean

2012-04-22 Thread Yellow
I am also compairing 2 things with each other. x = c(1, 5, 7, 9) y = c(2, 7, 9, 10, 11) intersect(x, y) Output will be: 7, 9. Hope it helped. :) -- View this message in context: http://r.789695.n4.nabble.com/compare-mean-tp4576372p4578007.html Sent from the R help mailing list archive

Re: [R] Compare mean survival time

2008-02-20 Thread Corey Sparks
Xing Yuan wrote: Dear List, Does anybody no how to compare mean survival times for two (more) groups in R? What test statistics should I use? You should be careful considering the mean survival time, because censoring in survival data often makes the mean less informative. The median

Re: [R] Compare mean survival time

2008-02-20 Thread Terry Therneau
Xing Yuan wrote: Dear List, Does anybody no how to compare mean survival times for two (more) groups in R? What test statistics should I use? Because of censoring, you can only compare the conditional means. That is, given a pre-defined cutpoint such as 2 years, you estimate the

Re: [R] Compare mean survival time

2008-02-19 Thread Roland Rau
Hi, Xing Yuan wrote: Dear List, Does anybody no how to compare mean survival times for two (more) groups in R? What test statistics should I use? my answer is less of an R answer than a literature answer: John P. Klein and Melvin L. Moeschberger devote section 4.5 in their book Survival

[R] Compare mean survival time

2008-02-18 Thread Xing Yuan
Dear List, Does anybody no how to compare mean survival times for two (more) groups in R? What test statistics should I use? Thank you very much! Joe [[alternative HTML version deleted]] __ R-help@r-project.org mailing list