crr2stats | R Documentation |
Extract statistics from an object of class crr
crr2stats(x, digits = 2)
x |
an object of class crr |
digits |
integer indication the position of decimal place |
An object of class "data.frame"
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.