# mult.memb

From MCMCglmm v2.29
by Jarrod Hadfield

##### Design Matrices for Multiple Membership Models

Forms design matrices for multiple membership models

- Keywords
- manip

##### Usage

`mult.memb(formula)`

##### Arguments

- formula
formula

##### Details

Currently `mult.memb`

can only usefully be used inside an `idv`

variance function. The formula usually contains serveral factors that have the same factor levels.

##### Value

design matrix

##### Examples

```
# NOT RUN {
fac1<-factor(sample(letters[1:3], 5, TRUE), levels=letters[1:3])
fac2<-factor(sample(letters[1:3], 5, TRUE), levels=letters[1:3])
cbind(fac1, fac2)
mult.memb(~fac1+fac2)
# }
```

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

### Community examples

Looks like there are no examples yet.