Wald.test: Performing Wald tests on MCMCglmm fixed effects

Description Usage Arguments Examples

View source: R/Wald.test.R

Description

Performing Wald tests on MCMCglmm fixed effects

Usage

1
Wald.test(mod, fixed)

Arguments

mod

model of class MCMCglmm

fixed

numeric vector specifying terms to be tested. In summary(mod), in location effects, the intercept is 1. Jointly test a factor by including all levels (minus intercept).

Examples

1
2
3
4
5
# needs aod
library(aod)
mod <-  MCMCglmm(y ~ x, random = ~ z)
# if x is a 4 levelled factor
Wald.test(mod = mod, fixed = 2:4)

Euphrasiologist/VCVglmm documentation built on June 4, 2020, 7:08 p.m.