Graphical check of observed against fitted outcome probabilities from disbayes
The data behind the plot can be produced using plotfit_data_disbayes
, to enable customised plots to be produced by hand with ggplot2
.
plotfit_disbayes(x, agemin = 50)
x
: Fitted model from disbayes
agemin
: Minimum age to show on the horizontal axis.A ggplot2
object containing the plot.