everyone
A month ago I successfully drew the RCS plot after a COX regression. Unfortunately, I did not save the code and it seems my R has cleared the command history. I only have the picture of the RCS. I remember I used some package to derive the RCS plot, but I cannot identify it.
Here is the RCS plot derived. Thank you.
I tried to analyze some data. I expect the result shown in the picture I have uploaded. I totally forgot how to do that and I am not able to find command history.