I'm currently using lifelines to carry out coxph survival analysis. I'm wondering if there's any library or functions that can help me to carry out spline regression analyses for the coxph model?
Something like this:
https://i.stack.imgur.com/0E2WN.jpg (Sorry I don't have enough reputation to post image)
I have found lots of instructions for R but not for python.