R Error : some group is too small for 'qda'
问题 I used the qda{MASS} to find the classfier for my data and it always reported " some group is too small for 'qda' ". Is it due to the size of test data I used for model ? I increased the test sample size from 30 to 100, it reported the same error. Helpppppppp..... set.seed(1345) AllMono <- AllData[AllData$type == "monocot",] MonoSample <- sample (1:nrow(AllMono), size = 100, replace = F) set.seed(1355) AllEudi <- AllData[AllData$type == "eudicot",] EudiSample <- sample (1:nrow(AllEudi), size