Dear colleges,
I performed Cox regression for proportional hazard using R package "survival". I obtained the results in form of "coxph" object, which seems to be a list. My problem is that I (and it seems like Internet too) do not know how to export it as .txt file for example. Please, give some feedback, I'll appreciate it.
Best regards!
a simple summary is:
then if you want to extract p.value and hazard ratio:
Thank you for your answer, however I am familiar with those commands. I do not know how to export it to text or csv file.