Closed kimberlymcm closed 8 years ago
I get the same error! ... ? any clues?
I never figured it out :/. I just ended up using the plsda function implemented in the mixOmics R package instead. But any insights for the future would be useful!
:) thanks for help! will move to mixOmics ... and if (IF) I figure something out I will let you know. c
It's not really a bug per se... the summary
function calls pls:::summary.mvr
which calls pls:::explvar
. Because of our Y
matrix being a singular matrix of binary data, it cannot compute some statistics and produces an error. Basically, it is a consequence of doing discriminant analysis.
When I try to run any data, include the example on the ?plsda R documentation, I run into an error. The plsda method runs, but when I look at summary(result), it gives me the below error. This is based on running all of the exact code from the R-documentation example, though I get this from any type of data I try to run. What does this error come from?