Thank you so much @aljabadi, for fixing the color problem within the background.predict function.
I want to calculate and plot the prediction background for comp 1 & 3 rather than comp 1 & 2, but as far as i can see, this has not been integrated into the function yet. Is it possible to implement this in future versions? And is it somehow possible to tweak the sPLS-DA object manually to bypass this limitation?
Kind regards
Christopher