at.level: Incidence Matrix of Levels within a Factor

Description Usage Arguments Value Author(s) See Also Examples

Description

Incidence matrix of levels within a factor

Usage

1
at.level(x, level)

Arguments

x

factor

level

factor level

Value

incidence matrix for level in x

Author(s)

Jarrod Hadfield j.hadfield@ed.ac.uk

See Also

at.set

Examples

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


Search within the MCMCglmm package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.