View source: R/rms_SandwichAddon.R
| model.matrix.ols | R Documentation |
model.matrixThe model.matrix.lm() that the ols() falls back upon
"forgets" the intercept value and behaves unreliable in
the vcovHC() functions. I've therefore created this sub-function
to generate the actual model.matrix() by just accessing the formula.
## S3 method for class 'ols'
model.matrix(object, ...)
object |
A Model |
... |
Parameters passed on |
matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.