ZeroTest {iccCounts} | R Documentation |
Zero-Inflation test for GLMM
Description
Zero-Inflation test for GLMM
Usage
ZeroTest(x)
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.
Value
A vector with the zero count and the P-value.
See Also
Examples
# 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)
[Package iccCounts version 1.1.2 Index]