# at.set

From MCMCglmm v2.30
by Jarrod Hadfield

##### Incidence Matrix of Combined Levels within a Factor

Incidence Matrix of Combined Levels within a Factor

- Keywords
- manip

##### Usage

`at.set(x, level)`

##### Arguments

- x
factor

- level
set of factor levels

##### Value

incidence matrix for the set `level`

in x

##### See Also

##### Examples

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

*Documentation reproduced from package MCMCglmm, version 2.30, License: GPL (>= 2)*

### Community examples

Looks like there are no examples yet.