Learn R Programming

iccCounts (version 1.1.2)

ZeroTest: Zero-Inflation test for GLMM

Description

Zero-Inflation test for GLMM

Usage

ZeroTest(x)

Value

A vector with the zero count and the P-value.

Arguments

x

An object of class GOF generated by GOF_check function.

Details

The function prints the count of zeros in the sample and the simulated P-value.

See Also

GOF_check()

Examples

Run this code
# \donttest{
# Poisson model. Repeatability setting.
iccpois<-icc_counts(EPP,y="Social",id="id")
iccpois.gof<-GOF_check(iccpois)
ZeroTest(iccpois.gof)
# Zero-inflated Poisson model. Repeatability setting
icczip<-icc_counts(EPP,y="Social",id="id",fam="zip")
icczip.gof<-GOF_check(icczip)
ZeroTest(icczip.gof)
# }

Run the code above in your browser using DataLab