I have a coxph fitted model that I would like to perform a LOOCV on. I have a function function(obj) that takes as input the output from a glm model, but when a
function(obj)