model.matrix.lmSubsets {lmSubsets} | R Documentation |
Extract a model matrix from a subset regression
Description
Returns the model matrix for the specified submodel.
Usage
## S3 method for class 'lmSubsets'
model.matrix(object, size, best = 1, ...)
## S3 method for class 'lmSelect'
model.matrix(object, best, ...)
Arguments
object |
|
size |
|
best |
|
... |
forwarded to |
Value
double[,]
—the model matrix
See Also
lmSubsets()
for all-subsets regressionlmSelect()
for best-subset regressionmodel.matrix()
for the S3 generic
[Package lmSubsets version 0.5-2 Index]