Method in charge of creating a table from an array with the values of the variable used as a sample and another with the classification of the values.