Unify all the type of X into matrix

.unify_class(X)

Arguments

X

Input data.

Value

Matrix form of data.