getPSPlot {CRTgeeDR} | R Documentation |
Get the histogram of weights for IPW and adequation for the glm weights model
Description
Get the histogram and some basic statistics for the weights used in the IPW part.
Usage
getPSPlot(object, save = FALSE, name = "plotPS", typeplot = NULL)
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. Default is NULL no output. '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]) |
[Package CRTgeeDR version 2.0.1 Index]