Description Usage Arguments Examples
Make Powerpoint list for reclassification
1 2 3 4 5 6 7 | makePPTList_reclassify(
fit1,
fit2,
labels,
cutoff = c(0, 0.1, 0.35, 1),
cutoff2
)
|
fit1, fit2 |
An object of class glm |
labels |
Optioanl labels for initial model and updated model |
cutoff, cutoff2 |
A numeric vector Cutoff values for risk categories for initial and updated model |
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)
labels=c("Without Genetic Factor","With Genetic Factor")
data=makePPTList_reclassify(fit1,fit2,labels=labels)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.