design | R Documentation |
Extract design matrix from data.frame and formula
design(formula, data, intercept = FALSE, rm_envir = FALSE, ...)
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) |
An object of class 'design'
Klaus Kähler Holst
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.