powered by
This function checks whether input data is a data frame, matrix, vector, or factor variable, and converts it to a numeric matrix.
check_input(input)
A numeric matrix corresponding to the input data frame.
A data frame, matrix, vector, or factor variable to be converted to a numeric matrix.