MomX / Momocs

:dove: Morphometrics using R
http://momx.github.io/Momocs/
51 stars 18 forks source link

LDA choose the best number of PCs #127

Closed vbonhomme closed 8 years ago

vbonhomme commented 8 years ago

the function 'correct classification' ~ 'number of variables' is NOT monotonically increasing for an LDA; so let the user choose a range of PCs to test or even pick the best number of PCs. if there are ties, the lowest PC number is chosen.