design {targeted} | R Documentation |
Extract design matrix
Description
Extract design matrix from data.frame and formula
Usage
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(s)
Klaus Kähler Holst
[Package targeted version 0.5 Index]