[R] Plotting adjusted KM curve
petr@p|k@| @end|ng |rom prechez@@cz
Fri Apr 9 11:29:31 CEST 2021
Is it what do you want?
> -----Original Message-----
> From: R-help <r-help-bounces using r-project.org> On Behalf Of Sorkin, John
> Sent: Monday, April 5, 2021 3:35 AM
> To: r-help using r-project.org (r-help using r-project.org) <r-help using r-project.org>
> Subject: [R] Plotting adjusted KM curve
> I am using the coxph to model survival time. How do I plot an adjusted
> Meir plot resulting from coxph? The code I would like to run would start
> # 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,
> [[alternative HTML version deleted]]
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide http://www.R-project.org/posting-
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help