select_MLR: Development of the model (multi linear regression)

Description Usage Arguments Value Examples

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

1
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

1
2
# First run Select_variables to remove descriptors with missing or constant values.
# MLR<-select_MLR(y,desc,5)

DEMOVA documentation built on May 2, 2019, 2:09 a.m.