View source: R/gof_functions.R
ZeroTest | R Documentation |
Zero-Inflation test for GLMM
ZeroTest(x)
x |
An object of class GOF generated by GOF_check function. |
The function prints the count of zeros in the sample and the simulated P-value.
A vector with the zero count and the P-value.
GOF_check()
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.