plot.GOF {iccCounts}R Documentation

Goodness of fit plots

Description

Draws the plots to assess the goodness of fit

Usage

## S3 method for class 'GOF'
plot(x, type = c("all", "envelope", "dispersion", "zeros"), ...)

Arguments

x

An object of class GOF generated by GOF_check function.

type

Which plot to draw. Values: all (default); envelope for envelopes of randomized quantile residuals; dispersion for plot to assess the dispersion; zeros for plot to assess the zero inflation.

...

Ignore

See Also

GOF_check()

Examples


# Poisson model. Repeatability setting.
iccpois<-icc_counts(EPP,y="Social",id="id")
iccpois.gof<-GOF_check(iccpois)
plot(iccpois.gof)
plot(iccpois.gof,type="envelope")
plot(iccpois.gof,type="dispersion")
plot(iccpois.gof,type="zeros")


[Package iccCounts version 1.1.2 Index]