powered by
Extract statistics from an object of class crr
crr2stats(x, digits = 2)
An object of class "data.frame"
an object of class crr
integer indication the position of decimal place
data(melanoma,package="boot") melanoma$status_crr=ifelse(melanoma$status==1,1,ifelse(melanoma$status==2,0,2)) x=crrFormula(time+status_crr~age+sex+thickness+ulcer,data=melanoma) crr2stats(x)
Run the code above in your browser using DataLab