In order to achieve two functions graph (DF1, DF2) for biometric sheet, this script has been used:

_________________________________________________________________

># run the discriminant analysis

>discrminantTest #see the discriminant power of the variables

>discrminantTest$power

>#make new columns on tableM with the scores of each specimen on the first and second discrminant functions

>tableM$DF1 tableM$DF2 # to only keep the columns you need

>tableM % select(collection.number:XXX)

_________________________________________________________________

The triple "X" is my latest biometric trait which after that I received this error:

>Error in is_character(x, encoding = encoding, n = 1) :

object 'collection.number' not found

More Seyed Mahmoud Ghasempouri's questions See All
Similar questions and discussions