crrFormula | R Documentation |
Competing Risk Regression with Formula
crrFormula(x, data, ...)
x |
formula time+status~explanatory variables |
data |
data a data.frame |
... |
Further arguments to be passed to |
An object of class "tidycrr" which is described in crr
data(melanoma,package="boot")
melanoma$status_crr=ifelse(melanoma$status==1,1,ifelse(melanoma$status==2,0,2))
crrFormula(time+status_crr~age+sex+thickness+ulcer,data=melanoma)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.