Extract design matrix from data.frame and formula

`design(formula, data, intercept = FALSE, rm_envir = FALSE, ...)`

## Arguments

- formula
formula

- data
data.frame

- intercept
If FALSE (default) an intercept is not included

- rm_envir
Remove environment

- ...
additional arguments (e.g, specials such weights, offsets, subset)

## Value

An object of class 'design'

## Author

Klaus Kähler Holst