Description Usage Arguments Value Examples
Draw a Predictiveness Plot
1 | predictPlot(fitlist, labels, size, ...)
|
fitlist |
A list of objects of class glm |
labels |
String Optional labels |
size |
numeric line size |
... |
Further arguments to be passed to geom_line() |
A ggplot
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 factors", "with genetic factors")
predictPlot(list(fit1,fit2),labels=labels)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.