I am using Interval PLS (iPLS) for wavelength selection. There are three types of methods;
3): synergy or segmented one
Please see my code below
library(mdatools) forward_pls<- ipls(x,y,glob.ncomp = 10, int.num = 25) Backward_pls<- ipls(x,y,glob.ncomp = 10, int.num = 25, method="backward")
and this worked, however, when i am passing synergy or segmented to method it does not work.
Please help me with the coding how to apply segmented PLS in R.