Description Usage Arguments Value Examples
Make reclassification table
1 | reclassTable(x, outcome, labels)
|
x |
An object of class reclassified |
outcome |
Character |
labels |
Optional character |
An object of class flextable
1 2 3 4 5 6 | form1=paste0("AMD~",paste0(colnames(ExampleData)[3:10],collapse="+"))
form2=paste0("AMD~",paste0(colnames(ExampleData)[3:16],collapse="+"))
fit1=glm(as.formula(form1),data=ExampleData,family=binomial)
fit2=glm(as.formula(form2),data=ExampleData,family=binomial)
x=reclassify(fit1,fit2,cutoff=c(0,0.1,0.3,0.5,1))
reclassTable(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.