I want to calculate the AIC value for my survival analysis objects (suvfit / coxph). When I try to do this, he says:
> AIC(cox) Error in UseMethod("logLik") : no applicable method for 'logLik' applied to an object of class "coxph"
For what I understand that software limitation. Can someone help me solve this problem without calculating the AIC value manually?
source share