"plotPredictions"(obj, res = NULL, nc = NULL, ncomp = NULL, main = NULL, ...)simca, plsda, etc.). if NULL value
is specified, the result will be selected automatically by checking the nearest available from
test, cv and calibration results.'calres', 'cvres' or 'testres').mdaplotg function can be used.plsda, simca or simcam.