OCHEM integrates the R implementation of the partial least squares method. Please, refer to the Wikipedia article for a more detailed description of the PLS algoritm.
The only configurable parameter is the number of latent variables. If set to zero, the PLS algorithm will select an optimal number automatically.