| lm.best | R Documentation |
Description: lm.best is used to fit linear model for the best model provided by modelselect.lm.
lm.best(object, method = "models", threshold = 0.95, x = FALSE, y = FALSE)
object |
the model selection result from |
method |
the criteria to do model select.
|
threshold |
The threshold for variable selection. The variables with posterior inclusion probability larger than the threshold are selected in the best model. The default is 0.95. |
x, y |
logicals. If |
An object of class "lm", which is a list containing the following components:
coefficientsA named vector of coefficients.
residualsThe residuals, that is the response minus the fitted values.
fitted.valuesThe fitted mean values.
rankThe numeric rank of the fitted linear model.
df.residualThe residual degrees of freedom.
callThe matched call.
termsThe terms object used.
model(If requested) the model frame used.
qr(If requested) the QR decomposition of the design matrix.
xlevels(If the model formula includes factors) a record of the levels of the factors.
contrasts(If the model formula includes factors) the contrasts used.
offsetThe offset used.
thresholdthe threshold used for method = "variables".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.