converts data.table to matrix

dt_to_matrix(x)

Arguments

x

data.table object