I hope all is well with you. I am running a Cox regression model using the cph function in RMS with the goal of examining whether survival estimates are calibrated differently for different demographic groups. I have been looking at the RMS package and the calibrate function but I can’t see a way for using this to get separate calibration lines for different sub-groups in my model. Can anyone provide any guidance for how to do this in R?
Best, Will