Description Usage Arguments Value Examples
Perform a multi linear regression between property and previously selected descriptors (using select_MLR function).
Calculate R2 coefficient and the predicted values from the MLR. Trace the graph experimental values vs predicted values.
1 | fitting(mydata, n, property)
|
mydata |
Dataframe containing names and values of response and descriptors |
n |
Number of selected descriptors of the regression (determined using select_MLR function) |
property |
Name of the studied proterty |
prediction_TrainSet_Y.csv |
File containing prediction obtained using the fitting |
Y_TrainingSet.tiff |
Image representing experimental values vs predicted values for the training set |
fit |
lm object return by the function |
1 2 3 4 | # First run select_MLR to define n
# y<-data[,2]
# mydata<-cbind(y,MLR)
# fit<-fitting(data,dim(MLR)[2],"Name of property")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.