getOMPlot: Get the observed vs fitted residuals

View source: R/print.R

getOMPlotR Documentation

Get the observed vs fitted residuals

Description

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

Usage

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


CRTgeeDR documentation built on Sept. 6, 2022, 9:07 a.m.

Related to getOMPlot in CRTgeeDR...