Let me rephrase your question: "How do I get the results that are printed by print(survfit(....))" Answer: read the help file "?print.survfit"
Extracting results from a function output
1 message · Terry Therneau
1 message · Terry Therneau
Let me rephrase your question: "How do I get the results that are printed by print(survfit(....))" Answer: read the help file "?print.survfit"