Although the discriminant methods require complete data, the software allows matrices with missing data to be input and doesn't print any warning or error messages.
May better input checking be added and also mention of the handling of missing data in the function documentation? It's also unexpected that a data.frame works in the example, although the documentation states x: matrix containing the training data.
Although the discriminant methods require complete data, the software allows matrices with missing data to be input and doesn't print any warning or error messages.
May better input checking be added and also mention of the handling of missing data in the function documentation? It's also unexpected that a
data.frame
works in the example, although the documentation statesx: matrix containing the training data.