plotfit_disbayes function

Graphical check of observed against fitted outcome probabilities from disbayes

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)

Arguments

  • x: Fitted model from disbayes
  • agemin: Minimum age to show on the horizontal axis.

Returns

A ggplot2 object containing the plot.

  • Maintainer: Christopher Jackson
  • License: GPL-3
  • Last published: 2023-09-09