Description Usage Arguments Examples
Draw prior versus posterior plot
1 | priorPosteriorPlot(fitlist, xlab, ylab, title, ...)
|
fitlist |
A list of objects of class glm |
xlab, ylab, title |
character |
... |
Further arguments to be passed to geom_point() |
1 2 3 4 5 | 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)
priorPosteriorPlot(list(fit1,fit2),alpha=0.3,color="red")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.