[R] Plotting adjusted KM curve

Sorkin, John j@ork|n @end|ng |rom @om@um@ry|@nd@edu
Mon Apr 5 03:34:42 CEST 2021


Colleagues,
I am using the coxph to model survival time. How do I plot an adjusted Kaplan Meir plot resulting from coxph? The code I would like to run would start with:

# run cox model
fit1Cox <- coxph(surv_object ~age+sex,data=mydata)

I have no idea what would follow.

I would like to plot adjusted KM curves for men vs. women at age 65.

Thank you,
John


	[[alternative HTML version deleted]]



More information about the R-help mailing list