plot.GOF: Goodness of fit plots

Description Usage Arguments Value See Also Examples

View source: R/auxiliar_functions.R

Description

Draws the plots to assess the goodness of fit

Usage

1
2
## 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.

...

Ignore dispersion for plot to assess the dispersion; zeros for plot to assess the zero inflation.

type

Which plot to draw. Values: all (default); envelope for envelopes of randomized quantile residuals;

Value

A vector with the variance components and related parameters

See Also

GOF_check()

Examples

1
2
3
4
5
6
7
# 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 July 30, 2021, 5:07 p.m.