I have used the package rms to fit assess models while relaxing linearity assumptions in Cox model predictors. After, I used validate to compute discr
rms
validate