search for: melanom

Displaying 2 results from an estimated 2 matches for "melanom".

Did you mean: melanoma
2011 Apr 05
6
simple save question
Hi, When I run the survfit function, I want to get the restricted mean value and the standard error also. I found out using the "print" function to do so, as shown below, print(km.fit,print.rmean=TRUE) Call: survfit(formula = Surv(diff, status) ~ 1, type = "kaplan-meier") records n.max n.start events *rmean *se(rmean) median 200.000
2003 Mar 10
1
help--Cox ph model
Dear r-users, I want to use the Cox's ph model to analyze survival data set. How can I extract the model coefs. and Wald test p-value or Score? For example: I use the data set melanom in iSwR package. > library(survival) > data(melanom) > attach(melanom) > cox.model <- coxph(Surv(days,status==1)~sex) > summary(cox.model) Call: coxph(formula = Surv(days, status == 1) ~ sex) n= 205 coef exp(coef) se(coef) z p sex 0.662 1.94 0.265 2.50 0....