plot.GOF: Goodness of fit plots

View source: R/auxiliar_functions.R

plot.GOFR 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")


iccCounts documentation built on May 29, 2024, 7:57 a.m.