Get the observed vs fitted residuals

Description

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

Usage

1
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])