When selectCompNum() method is used with PLS model to select user defined number of components it shows the same warning as if the selection should be done automatically and no validation results are provided. Here is a code to reproduce the bug:
data(people)
m = pls(people[, -4], people[, 4], 7)
m = selectCompNum(m, 7)
When building the model the warning message is expected. But when selecting user defined number of components — not.
When
selectCompNum()
method is used with PLS model to select user defined number of components it shows the same warning as if the selection should be done automatically and no validation results are provided. Here is a code to reproduce the bug:When building the model the warning message is expected. But when selecting user defined number of components — not.