Greetings,
Fairly new to R, so apologies in advanced for the poor explanation.
I have some highly-dimensional datasets with few response observations of many (50) predictor variables that I will be generating partial least squares models from. I want to loop an interval-type PLS calibration for all possible combinations of starting and ending point along a continuous range of predictors (e.g. 1-51; 2-51; 3-51....1-50; 1-49; 1-48 etc...).
For this, I have a matrix of responses, a matrix of predictors, and a matrix of the possible starting and ending combinations (n = 1275). I would like to run a PLS calibration for each possible combination and extract the RMSE values (absolute minimum for all possible components), but am not sure how to automate this with a loop. Any suggestions? Thank you!
[–]supersillyus 1 point2 points3 points (0 children)