at.set: Incidence Matrix of Combined Levels within a Factor

Description Usage Arguments Value Author(s) See Also Examples

View source: R/mterms.R

Description

Incidence Matrix of Combined Levels within a Factor

Usage

1
at.set(x, level)

Arguments

x

factor

level

set of factor levels

Value

incidence matrix for the set level in x

Author(s)

Jarrod Hadfield [email protected]

See Also

at.level

Examples

1
2
3
fac<-gl(3,10,30, labels=letters[1:3])
x<-rnorm(30)
model.matrix(~at.set(fac,2:3):x)

MCMCglmm documentation built on May 2, 2019, 2:51 p.m.