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
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
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
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
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
5 matches
Mail list logo