getOMPlot function

Get the observed vs fitted residuals

Get the observed vs fitted residuals

Get the histogram and some basic statistics for the weights used in the IPW part.

getOMPlot(object, save = FALSE, name = "plotOM", typeplot = 0)

Arguments

  • object: CRTgeeDR
  • save,: logical if TRUE the plot is saved as a pdf in the current directory
  • name,: name of the plot saved as pdf
  • typeplot,: integer indicating which is the adequation diagnostic plot for the PS. '0', all available in plot.glm are displayed, '1' Residuals vs Fitted, '2' Normal Q-Q, '3' Scale-Location, '4' Cook's distance, '5' Residuals vs Leverage and '6' Cook's dist vs Leverage* h[ii] / (1 - h[ii])
  • Maintainer: Melanie Prague
  • License: GPL (>= 2)
  • Last published: 2022-09-06

Useful links