In some instances, discriminant analysis crashes the app because there are too few observations. Error message when running discriminant analysis on proteomics PCA:
Warning in lognet(xd, is.sparse, ix, jx, y, weights, offset, alpha, nobs, :
one multinomial or binomial class has fewer than 8 observations; dangerous ground
Warning: Error in lognet: one multinomial or binomial class has 1 or 0 observations; not allowed
In some instances, discriminant analysis crashes the app because there are too few observations. Error message when running discriminant analysis on proteomics PCA:
Warning in lognet(xd, is.sparse, ix, jx, y, weights, offset, alpha, nobs, : one multinomial or binomial class has fewer than 8 observations; dangerous ground Warning: Error in lognet: one multinomial or binomial class has 1 or 0 observations; not allowed