[R] Linear discriminant analysis

2023-10-12 Thread Fernando Archuby
Hi. I have successfully performed the discriminant analysis with the lda function, I can classify new individuals with the predict function, but I cannot figure out how the lda results translate into the classification decision. That is, I don't realize how the classification equation for new indiv

[R] Convex hulls after nMDS or PCoA

2020-05-11 Thread Fernando Archuby
Dear all. I need to build convex hulls around groups of points of an ordination (nMDS or PCoA). The groups were independently established with cluster analysis. I have learnt to plot convex hulls but would need to create every of the 21 groups independently. Do you know how could I just add the hul