Last data update: 2014.03.03
|
R: Development of the model (multi linear regression)
select_MLR | R Documentation |
Development of the model (multi linear regression)
Description
From a list of descriptors and responses values, this function choose the best compromise between correlation and robustness to select the best model.
Usage
select_MLR(y, desc, n, method = "forward")
Arguments
y |
Vector with values of the property/response
|
desc |
Dataframe containing the names of desciptors and their values
|
n |
Maximal number (integer) of desciptors for the final equation
|
method |
Determine the method used to build the regression. Can be: "backward", "forward" (by default) or "seqrep". For more info see leaps package.
|
Value
Return the list of selected variables for the choosen MLR.
Examples
# First run Select_variables to remove descriptors with missing or constant values.
# MLR<-select_MLR(y,desc,5)
Results
|