Checks the integrity of the inputed data before computing the Euclidian Minimum Spanning Tree (EMST)
data_check(x)a matrix or data.frame.
a matrix containing the cleaned data after running the
necessary checks.
data_check is called from inside
ComputeMST before the computation begins. First,
it evaluates the object format. Afterwards, it checks whether the
inputed data has at least two columns and tries to coerce all columns
into numeric, beyond removing all rows containing NA's entries.