pglmm-profile-LRT: 'pglmm_profile_LRT' tests statistical significance of the...

Description Usage Arguments Value

Description

pglmm_profile_LRT tests statistical significance of the phylogenetic random effect of binomial models on species slopes using a likelihood ratio test.

Usage

1
2
3
pglmm_profile_LRT(x, re.number = 0, cpp = TRUE)

communityPGLMM.profile.LRT(x, re.number = 0, cpp = TRUE)

Arguments

x

A fitted model with class communityPGLMM and family "binomial".

re.number

Which random term to test? Can be a vector with length >1

cpp

Whether to use C++ function for optim. Default is TRUE. Ignored if bayes = TRUE.

Value

A list of likelihood, df, and p-value.


phyr documentation built on Jan. 13, 2021, 5:40 p.m.